mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 15:15:55 +02:00
Fix #754 lowercase plugin name upon search
This commit is contained in:
@@ -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));
|
||||
|
||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user