Skip to content

Commit

Permalink
Fix for csv generation in shifting (ohcnetwork#8790)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan authored Oct 18, 2024
1 parent 2778b49 commit ab26fdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Components/Shifting/BoardView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ export default function BoardView() {
<ExportButton
action={async () => {
const { data } = await request(routes.downloadShiftRequests, {
query: { ...formatFilter(qParams), csv: true },
query: {
...formatFilter({ ...qParams, status: board.text }),
csv: true,
},
});
return data ?? null;
}}
Expand Down

0 comments on commit ab26fdc

Please sign in to comment.