Skip to content

Commit

Permalink
[bug] [33701] User Notes Categories - Error in menu and filter selection
Browse files Browse the repository at this point in the history
Close #3559
  • Loading branch information
Kubik-Rubik authored and Bakual committed May 6, 2014
1 parent 2454762 commit 9f6357f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ protected function addToolbar()
JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_CATEGORY'),
'filter_category_id',
JHtml::_('select.options', JHtml::_('category.options', 'com_users.notes'), 'value', 'text', $this->state->get('filter.category_id'))
JHtml::_('select.options', JHtml::_('category.options', 'com_users'), 'value', 'text', $this->state->get('filter.category_id'))
);
}

Expand Down
2 changes: 1 addition & 1 deletion administrator/modules/mod_menu/tmpl/default_enabled.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
{
$menu->addChild(
new JMenuNode(
JText::_('MOD_MENU_COM_CONTENT_NEW_CATEGORY'), 'index.php?option=com_categories&task=category.add&extension=com_users.notes',
JText::_('MOD_MENU_COM_CONTENT_NEW_CATEGORY'), 'index.php?option=com_categories&task=category.add&extension=com_users',
'class:newarticle'
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php
echo JHtml::_(
'select.options', JHtml::_('category.options', 'com_users.notes'),
'select.options', JHtml::_('category.options', 'com_users'),
'value', 'text', $this->state->get('filter.category_id')
); ?>
</select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@
}

$menu->addChild(
new JMenuNode(JText::_('MOD_MENU_COM_USERS_NOTE_CATEGORIES'), 'index.php?option=com_categories&view=categories&extension=com_users.notes', 'class:category'), $createUser
new JMenuNode(JText::_('MOD_MENU_COM_USERS_NOTE_CATEGORIES'), 'index.php?option=com_categories&view=categories&extension=com_users', 'class:category'), $createUser
);
if ($createUser)
{
$menu->addChild(
new JMenuNode(JText::_('MOD_MENU_COM_CONTENT_NEW_CATEGORY'), 'index.php?option=com_categories&task=category.add&extension=com_users.notes', 'class:newarticle')
new JMenuNode(JText::_('MOD_MENU_COM_CONTENT_NEW_CATEGORY'), 'index.php?option=com_categories&task=category.add&extension=com_users', 'class:newarticle')
);
$menu->getParent();
}
Expand Down

0 comments on commit 9f6357f

Please sign in to comment.