Index: branches/5.2.x/core/units/config_search/config_search_event_handler.php =================================================================== diff -u -N -r14955 -r14989 --- branches/5.2.x/core/units/config_search/config_search_event_handler.php (.../config_search_event_handler.php) (revision 14955) +++ branches/5.2.x/core/units/config_search/config_search_event_handler.php (.../config_search_event_handler.php) (revision 14989) @@ -1,6 +1,6 @@ Application->GetVar('module'); $main_prefix = $this->Application->findModule('Name', $module, 'Var'); @@ -41,14 +41,16 @@ * @access protected * @see kDBEventHandler::OnListBuild() */ - protected function SetCustomQuery(&$event) + protected function SetCustomQuery(kEvent &$event) { + parent::SetCustomQuery($event); + $object =& $event->getObject(); /* @var $object kDBList */ // show only items that belong to selected module $module = $this->Application->GetVar('module'); - $object->addFilter('module_filter', '%1$s.ModuleName = '.$this->Conn->qstr($module)); + $object->addFilter('module_filter', '%1$s.ModuleName = ' . $this->Conn->qstr($module)); // don't show disabled search items $object->addFilter('active_filter', '%1$s.SimpleSearch <> -1');