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