mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-16 08:24:47 +00:00
FEATURE: Make searching case-insensitive
This commit is contained in:
parent
061322e53a
commit
0af2453c23
@ -29,7 +29,7 @@ export default Ember.Controller.extend({
|
||||
|
||||
@computed("search")
|
||||
filteredContent(search) {
|
||||
const regexp = new RegExp(this.get("search"));
|
||||
const regexp = new RegExp(this.get("search"), "i");
|
||||
return this.get("sortedQueries").filter(function(result) {
|
||||
return (
|
||||
regexp.test(result.get("name")) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user