From 533e077cd54c4189a73303dbff51b9e6db91bac0 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 16 Dec 2012 15:58:18 +0000 Subject: [PATCH] display filter count --- static/js/pandora/filter.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/js/pandora/filter.js b/static/js/pandora/filter.js index ddb77b359..c595dea35 100644 --- a/static/js/pandora/filter.js +++ b/static/js/pandora/filter.js @@ -81,6 +81,15 @@ pandora.ui.filter = function(id) { unique: 'name' }) .bindEvent({ + init: function(data) { + that.setColumnTitle( + 'name', + Ox.getObjectById(pandora.site.filters, id).title + + '
' + + Ox.formatNumber(data.items) + + '
' + ); + }, paste: function(data) { pandora.$ui.list.triggerEvent('paste', data); },