Merge pull request #317 from cyxae/stretch-unstable

Allow search in the app description
This commit is contained in:
Alexandre Aubin 2020-10-28 17:45:50 +01:00 committed by GitHub
commit 1c291cddc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@
// Check text search
var input = jQuery("#filter-app-cards").val().toLowerCase();
if (jQuery(this).find('.app-title').text().toLowerCase().indexOf(input) <= -1) return false;
if (jQuery(this).find('.app-title, .app-card-desc').text().toLowerCase().indexOf(input) <= -1) return false;
// Check subtags
var subtag = $(".subtag-selector button.active").data("subtag");