You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/10 07:37:18 UTC

[GitHub] [airflow] zacharya19 commented on a change in pull request #7661: [AIRFLOW-7016] Sort dag tags in the UI

zacharya19 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_r390134634
 
 

 ##########
 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:
   I do not fully understand why (and how) this should be tested.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services