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_r389967385
##########
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:
Or maybe sorting it python side
https://github.com/apache/airflow/blob/master/airflow/models/dag.py#L1481-L1530
?
----------------------------------------------------------------
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