pidgin/nest

Fixed issue where search term wasn't found in info
fix-plugin-search
20 months ago, Alan HOskins
3a24a1e815d4
Fixed issue where search term wasn't found in info
--- a/hugo/static/js/plugin-table.js Wed Jan 15 14:01:57 2020 +0000
+++ b/hugo/static/js/plugin-table.js Thu Jan 16 23:16:43 2020 -0500
@@ -135,9 +135,9 @@
(searchState.publisher == "community" && !row.isTrusted)) &&
// Search box
(!searchState.query ||
- row.head.includes(searchState.query) ||
- row.info.includes(searchState.query) ||
- row.repo.includes(searchState.query))
+ row.head.toLowerCase().includes(searchState.query) ||
+ row.info.toLowerCase().includes(searchState.query) ||
+ row.repo.toLowerCase().includes(searchState.query))
);
}