jkmalek commented on a change in pull request #11652:
URL: https://github.com/apache/airflow/pull/11652#discussion_r607769776



##########
File path: airflow/www/views.py
##########
@@ -332,6 +332,47 @@ def get_downstream(task):
     ]
 
 
+def dag_query_for_key(sorting_key):
+    """Maps sorting key param in the URL params to DB queries on appropriate 
attributes."""
+    dag_query_key_map = {
+        'dag_id': DagModel.dag_id,
+        'owner': DagModel.owners,
+        'schedule': DagModel.next_dagrun,

Review comment:
       Done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to