Fix #754 lowercase plugin name upon search

This commit is contained in:
Flavio Copes
2016-09-03 11:30:29 +02:00
parent 8a39b36603
commit ee8e3250f9
2 changed files with 2 additions and 2 deletions

View File

@@ -82,6 +82,6 @@ $(document).on('input', '[data-gpm-filter]', debounce((event) => {
items.hide().filter((index, item) => {
item = $(item);
return contains(item.data('gpm-plugin'), value) || contains(item.data('gpm-theme'), value) || contains(item.data('gpm-name'), value);
return contains(item.data('gpm-plugin'), value) || contains(item.data('gpm-theme'), value) || contains(item.data('gpm-name').toLowerCase(), value.toLowerCase());
}).show();
}, 250));

File diff suppressed because one or more lines are too long