Skip to content

Commit

Permalink
stringify filters query params
Browse files Browse the repository at this point in the history
  • Loading branch information
zeezo887 authored and ifox committed Mar 26, 2024
1 parent ce0fbf1 commit 0ea40f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/js/store/modules/buckets.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const actions = {
content_type: state.dataSources.selected.value,
page: state.page,
offset: state.offset,
filter: state.filter
filter: JSON.stringify(state.filter)
}, resp => {
commit(BUCKETS.UPDATE_BUCKETS_DATA, resp.source)
commit(BUCKETS.UPDATE_BUCKETS_MAX_PAGE, resp.maxPage)
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/store/modules/datatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const actions = {
page: state.page,
offset: state.offset,
columns: getters.visibleColumnsNames,
filter: state.filter
filter: JSON.stringify(state.filter)
}

api.get(params, function (resp) {
Expand Down

0 comments on commit 0ea40f3

Please sign in to comment.