Skip to content

Commit

Permalink
Change dag audit log sort by date from asc to desc (#26895)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8b928b4)
  • Loading branch information
bbovenzi authored and ephraimbuddy committed Oct 18, 2022
1 parent 05408cb commit d760ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3671,7 +3671,7 @@ def audit_log(self, dag_id: str, session=None):

current_page = request.args.get('page', default=0, type=int)
arg_sorting_key = request.args.get('sorting_key', 'dttm')
arg_sorting_direction = request.args.get('sorting_direction', default='asc')
arg_sorting_direction = request.args.get('sorting_direction', default='desc')

logs_per_page = PAGE_SIZE
audit_logs_count = query.count()
Expand Down

0 comments on commit d760ee6

Please sign in to comment.