summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/guix-web.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/guix-web.js b/js/guix-web.js
index ae50a48..62a8779 100644
--- a/js/guix-web.js
+++ b/js/guix-web.js
@@ -33,7 +33,8 @@ guix.controller = function() {
var regexp = new RegExp(this.searchTerm());
this.visiblePackages(this.packages().filter(function(package) {
- return regexp.test(package.name);
+ return regexp.test(package.name) ||
+ regexp.test(package.synopsis);
}));
};
};