Index: branches/5.0.x/core/units/general/cat_dblist.php =================================================================== diff -u -r12117 -r12299 --- branches/5.0.x/core/units/general/cat_dblist.php (.../cat_dblist.php) (revision 12117) +++ branches/5.0.x/core/units/general/cat_dblist.php (.../cat_dblist.php) (revision 12299) @@ -1,6 +1,6 @@ Special) + defined('FULL_PATH') or die('restricted access!'); + + class kCatDBList extends kDBList { + + /** + * Select items from current category or from all categories + * + * @var bool + */ + var $Scope = true; + + /*function GetWhereClause($for_counting=false,$system_filters_only=false) { - case 'showall': - $this->clearFilters(false,true,false,false); - break; - } - return parent::GetWhereClause($for_counting,$system_filters_only); - }*/ - -} + switch ($this->Special) + { + case 'showall': + $this->clearFilters(false,true,false,false); + break; + } + return parent::GetWhereClause($for_counting,$system_filters_only); + }*/ -?> \ No newline at end of file + } \ No newline at end of file