Skip to content

Commit

Permalink
fixes #510 and fixes #466
Browse files Browse the repository at this point in the history
  • Loading branch information
xaksis committed Mar 3, 2019
1 parent 34c6e64 commit d35fb20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default {
},
{
id: 5,
name: 'Dan',
name: '193.23',
age: 20,
createdAt: null,
score: 0.03343,
Expand Down
4 changes: 2 additions & 2 deletions src/components/types/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export default {
// row value
const rowValue = skipDiacritics
? String(rowval).toLowerCase()
: diacriticless(String(rowval).toLowerCase());
: diacriticless(escapeRegExp(String(rowval)).toLowerCase());

// search term
const searchTerm = skipDiacritics
? escapeRegExp(filter).toLowerCase()
? filter.toLowerCase()
: diacriticless(escapeRegExp(filter).toLowerCase());

// comparison
Expand Down

0 comments on commit d35fb20

Please sign in to comment.