Index: branches/unlabeled/unlabeled-1.11.2/kernel/units/general/cat_tag_processor.php =================================================================== diff -u -r5709 -r5715 --- branches/unlabeled/unlabeled-1.11.2/kernel/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 5709) +++ branches/unlabeled/unlabeled-1.11.2/kernel/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 5715) @@ -106,7 +106,10 @@ function CatalogItemCount($params) { - $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix.'_List', $params); + $object =& $this->GetList($params); + if (!$object->Counted) { + $object->CountRecs(); + } return $object->NoFilterCount != $object->RecordsCount ? $object->RecordsCount.' / '.$object->NoFilterCount : $object->RecordsCount; } @@ -122,6 +125,14 @@ $review_tag_processor =& $this->Application->recallObject('rev.item_TagProcessor'); return $review_tag_processor->TotalRecords($params); } + + function InitCatalogTab($params) + { + $tab_special = $this->Application->GetVar('tab_special'); + $params['name'] = $params['render_as']; + $params['prefix'] = trim($this->Prefix.'.'.($tab_special !== false ? $tab_special : $this->Special), '.'); + return $this->Application->ParseBlock($params, 1); + } } ?> \ No newline at end of file