Skip to content

Commit

Permalink
fix: replace % with * in or filter
Browse files Browse the repository at this point in the history
  • Loading branch information
awalias authored and soedirgo committed Aug 5, 2020
1 parent d15298f commit 4cd2ed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,5 +495,6 @@ export function _adj(columnName, filterRange) {
* 'or=(id.gt.20,and(name.eq.New Zealand,name.eq.France))'
*/
export function _or(filters) {
return `or=(${filters})`
let filtersEnriched = filters.replace(/%/g, '*')
return `or=(${filtersEnriched})`
}

0 comments on commit 4cd2ed0

Please sign in to comment.