fix #2331 (Filter count doesn't display '0' if there are no entries)

This commit is contained in:
rolux 2014-02-18 12:24:42 +00:00
parent 4874d97afa
commit fdade7877d

View file

@ -89,8 +89,7 @@ pandora.ui.filter = function(id) {
'name',
Ox._(Ox.getObjectById(pandora.site.filters, id).title)
+ '<div class="OxColumnStatus OxLight">'
+ (data.items ? Ox.formatNumber(data.items) : '')
+ '</div>'
+ Ox.formatNumber(data.items) + '</div>'
);
},
paste: function(data) {