summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/guix-packages.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/guix-packages.js b/js/guix-packages.js
index 03aa345..2e840f4 100644
--- a/js/guix-packages.js
+++ b/js/guix-packages.js
@@ -131,6 +131,8 @@ guix.controller = (function() {
return regexp.test(package.name) ||
regexp.test(package.synopsis);
}), this.pageSize));
+ // Reset pagination
+ this.currentPageIndex = 0;
};
controller.prototype.sortBy = function(field) {