Index: branches/5.2.x/core/units/filters/item_filter_tp.php =================================================================== diff -u -N -r14901 -r14917 --- branches/5.2.x/core/units/filters/item_filter_tp.php (.../item_filter_tp.php) (revision 14901) +++ branches/5.2.x/core/units/filters/item_filter_tp.php (.../item_filter_tp.php) (revision 14917) @@ -138,7 +138,8 @@ $options = $cache[$cache_key]['options']; $counts = $cache[$cache_key]['counts']; - if ( !$options ) { + if ( !$options || array_sum($counts) == 0 ) { + // no options in the filter OR no records to operate on return ''; }