Whatever set in that field, search results will always be displayed with the ItemID of homepage menu (When there's no menuitem of com_finder in the menu system)
I changed the code of modules/mod_finder/helper.php at line 48:
if ($needId)
{
$id = JFactory::getApplication()->input->get('Itemid', '0', 'int');
$fields[] = '<input type="hidden" name="Itemid" value="' . $id . '" />';
}
to:
if ($needId)
{
$id = $paramItem ? $paramItem : JFactory::getApplication()->input->get('Itemid', '0', 'int');
$fields[] = '<input type="hidden" name="Itemid" value="' . $id . '" />';
}
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-02-05 09:58:59 |
Closed_By | ⇒ | brianteeman |
Labels |
Added:
?
|
Closing as we have a PR #9072
@nguyenminh797 You do not need to create an Issue on the tracker and a pull request on github. Just create the pull request and it will be automagically on the issue tracker
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9071.