Index: branches/unlabeled/unlabeled-1.28.2/core/units/categories/categories_tag_processor.php =================================================================== diff -u -r5709 -r5715 --- branches/unlabeled/unlabeled-1.28.2/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 5709) +++ branches/unlabeled/unlabeled-1.28.2/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 5715) @@ -284,7 +284,9 @@ $except = $this->SelectParam($params, 'except'); $no_special = isset($params['no_special']) && $params['no_special']; - if ($types.$except.$parent_cat_id == '' || $no_special) { + if ($no_special) return $this->Special; + + if ($types.$except.$parent_cat_id == '') { return parent::BuildListSpecial($params); } @@ -443,6 +445,31 @@ $object =& $this->getObject($params); return $object->IsRoot(); } + + function CatalogItemCount($params) + { + $object =& $this->GetList($params); + if (!$object->Counted) { + $object->CountRecs(); + } + return $object->NoFilterCount != $object->RecordsCount ? $object->RecordsCount.' / '.$object->NoFilterCount : $object->RecordsCount; + } + + /** + * Print grid pagination using + * block names specified + * + * @param Array $params + * @return string + * @access public + */ + function PrintPages($params) + { + if ($this->Application->Parser->GetParam('no_special')) { + $params['no_special'] = $this->Application->Parser->GetParam('no_special'); + } + return parent::PrintPages($params); + } }