From b322aabf6b5fa64090c1874822e41f2071598e39 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 7 Aug 2014 21:27:25 -0400 Subject: Display visible packages in badge on package search page. * js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge. --- js/guix-packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/guix-packages.js b/js/guix-packages.js index 9c4c450..27d559f 100644 --- a/js/guix-packages.js +++ b/js/guix-packages.js @@ -73,7 +73,7 @@ guix.view = function(ctrl) { return [ m("h2", [ "Packages", - m("span.badge", ctrl.packages().length) + m("span.badge", ctrl.visiblePackages().length) ]), m("input.form-control", { type: "text", -- cgit v1.2.3