Skip to content

Commit

Permalink
fix: handle value if operator is between
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Feb 4, 2024
1 parent 270c2bb commit d0aa941
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/Filter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ function convertFilters(data, allFilters) {
// value[1] = value[1].replace(/%/g, '')
// }
if (value[0] === 'between' && Array.isArray(value[1])) {
value[1] = value[1].join(',')
}
if (field) {
f.push({
field,
Expand Down

0 comments on commit d0aa941

Please sign in to comment.