kaxil commented on a change in pull request #7661: [AIRFLOW-7016] Sort dag tags 
in the UI
URL: https://github.com/apache/airflow/pull/7661#discussion_r389965444
 
 

 ##########
 File path: airflow/www/templates/airflow/dags.html
 ##########
 @@ -105,7 +105,7 @@ <h2>DAGs</h2>
                     </span>
 
                     <div style="float: right; max-width: 70%; text-align: 
right; line-height: 160%;">
-                    {% for tag in dag.tags %}
+                    {% for tag in dag.tags | sort(attribute='name') %}
 
 Review comment:
   Can you please add a test for it in test/www/views.py ?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to