Index: branches/RC/core/units/categories/categories_event_handler.php =================================================================== diff -u -N -r11646 -r11649 --- branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 11646) +++ branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 11649) @@ -1600,6 +1600,16 @@ $list_sortings['']['ForcedSorting'] = Array ("CurrentSort" => 'asc'); $this->Application->setUnitOption($event->Prefix, 'ListSortings', $list_sortings); } + + // add grids for advanced view (with primary category column) + $grids = $this->Application->getUnitOption($this->Prefix, 'Grids'); + $process_grids = Array ('Default', 'Radio'); + foreach ($process_grids as $process_grid) { + $grid_data = $grids[$process_grid]; + $grid_data['Fields']['CachedNavbar'] = Array ('title' => 'la_col_Path', 'data_block' => 'grid_parent_category_td', 'filter_block' => 'grid_like_filter'); + $grids[$process_grid . 'ShowAll'] = $grid_data; + } + $this->Application->setUnitOption($this->Prefix, 'Grids', $grids); } function _printChildren(&$data, $parent_category_id, $language_id, $theme_id, $level = 0)