mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
The downloading of the CSV is working for as many as 190, 000 notifications.
This PR re-enables the download link and filters the notifications by templates type.
This commit is contained in:
@@ -157,7 +157,8 @@ def download_notifications_csv(service_id):
|
||||
status=filter_args.get('status'),
|
||||
page=request.args.get('page', 1),
|
||||
page_size=5000,
|
||||
format_for_csv=True
|
||||
format_for_csv=True,
|
||||
template_type=filter_args.get('message_type')
|
||||
)
|
||||
),
|
||||
mimetype='text/csv',
|
||||
|
||||
Reference in New Issue
Block a user