Skip to content

Commit

Permalink
feat: #858 make filter lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
MyPyDavid committed Dec 4, 2023
1 parent e25291a commit 651b73b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdmo/management/assets/js/utils/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const filterSearch = (search, element) => {
return (
isEmpty(search) ||
element.uri.includes(search) ||
(!isUndefined(element.title) && element.title.includes(search)) ||
(!isUndefined(element.text) && element.text.includes(search))
(!isUndefined(element.title) && element.title.toLowerCase().includes(search.toLowerCase())) ||
(!isUndefined(element.text) && element.text.toLowerCase().includes(search.toLowerCase()))
)
}

Expand Down

0 comments on commit 651b73b

Please sign in to comment.