diff options
author | David Thompson <davet@gnu.org> | 2015-06-15 22:44:33 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-15 22:44:33 -0400 |
commit | db77cdb53dd7ccb4319df4c19cf2e3b130331e9e (patch) | |
tree | 9e1b59c0a14faf1d3e70586e6020ce46d2829c87 /css | |
parent | 27c1558de6d776592c9e15d9952dceb80be0000d (diff) |
js: packages: Correctly handle searches that yield no results.
* js/controller/packages.js (guix.packages.controller): Do not render
pagination where there are no search results.
[emptyPages]: New variable.
[pages]: Don't chunk when there are no packages. Return emptyPackages
instead.
Diffstat (limited to 'css')
0 files changed, 0 insertions, 0 deletions