Index: branches/RC/core/units/categories/categories_event_handler.php =================================================================== diff -u -r9866 -r10274 --- branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 9866) +++ branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 10274) @@ -896,6 +896,30 @@ return $type_clauses; } + + /** + * Set's correct page for list + * based on data provided with event + * + * @param kEvent $event + * @access private + * @see OnListBuild + */ + function SetPagination(&$event) + { + parent::SetPagination($event); + + if (!$this->Application->IsAdmin()) { + $page_var = $event->getEventParam('page_var'); + if ($page_var !== false) { + $page = $this->Application->GetVar($page_var); + if (is_numeric($page)) { + $object =& $event->getObject(); + $object->SetPage($page); + } + } + } + } } ?> \ No newline at end of file