diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-07 21:27:25 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-07 21:27:25 -0400 |
commit | b322aabf6b5fa64090c1874822e41f2071598e39 (patch) | |
tree | faca7ff32f0e8d075c341da4e8b94cee6ab4914e | |
parent | d5fa21bd3887197cf5e4387f787e44872e42e671 (diff) |
Display visible packages in badge on package search page.
* js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge.
-rw-r--r-- | js/guix-packages.js | 2 |
1 files changed, 1 insertions, 1 deletions
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", |