Skip to content

Commit

Permalink
order exports in reverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
RuthShryock committed Dec 2, 2024
1 parent a807f66 commit 83bf0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kpi/utils/data_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
'access_logs_export': {
'queryset': lambda: apps.get_model('audit_log', 'AccessLog')
.objects.all()
.order_by('date_created'),
.order_by('-date_created'),
'key': 'metadata',
'columns': ACCESS_LOGS_EXPORT_FIELDS,
},
Expand Down

0 comments on commit 83bf0ed

Please sign in to comment.