Skip to content

Commit

Permalink
feat: Add query params for csv download (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
tabiodun authored Nov 28, 2024
1 parent 8e26f9d commit 45dc2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/OtherOrganizations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export default {
const columnsQuery = selectedColumns.value
.map((col) => `columns=${col}`)
.join('&');
const url = `/other_organizations/download_csv?${columnsQuery}`;
const url = `/other_organizations/download_csv?${columnsQuery}&incident=${currentIncidentId.value}&search=${search.value}`;
// Trigger the CSV download
const response = await axios.get(url, {
Expand Down

0 comments on commit 45dc2b6

Please sign in to comment.