You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/10/18 13:10:46 UTC
[airflow] 30/41: Change dag audit log sort by date from asc to desc (#26895)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d760ee6ff85b5fbbbbcfc131ccafb967a870603f
Author: Brent Bovenzi <br...@astronomer.io>
AuthorDate: Thu Oct 6 06:11:09 2022 -0400
Change dag audit log sort by date from asc to desc (#26895)
(cherry picked from commit 8b928b4172c7d3abb42c141a8d874e85639decf8)
---
airflow/www/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www/views.py b/airflow/www/views.py
index a2b0d1e76d..b6b6836256 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -3671,7 +3671,7 @@ class Airflow(AirflowBaseView):
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()