Skip to content

Commit

Permalink
Merge pull request #574 from shariquerik/export-wo-default-filters
Browse files Browse the repository at this point in the history
fix: export rows with default filters applied
  • Loading branch information
shariquerik authored Feb 3, 2025
2 parents 680218a + 1eb63de commit 99e6216
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/components/ViewControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,12 @@ const export_all = ref(false)
async function exportRows() {
let fields = JSON.stringify(list.value.data.columns.map((f) => f.key))
let filters = JSON.stringify(list.value.params.filters)
let filters = JSON.stringify({
...props.filters,
...list.value.params.filters,
})
let order_by = list.value.params.order_by
let page_length = list.value.params.page_length
if (export_all.value) {
Expand Down

0 comments on commit 99e6216

Please sign in to comment.