Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
add priority in csv too
  • Loading branch information
eric-intuitem committed Dec 4, 2024
1 parent c048ff5 commit 850f4b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@ def export_csv(self, request):
"csf_function",
"status",
"eta",
"priority",
"owner",
]
writer.writerow(columns)
Expand All @@ -1028,6 +1029,7 @@ def export_csv(self, request):
control.csf_function,
control.status,
control.eta,
control.priority,
]
if len(control.owner.all()) > 0:
owners = ",".join([o.email for o in control.owner.all()])
Expand Down

0 comments on commit 850f4b2

Please sign in to comment.