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/08/15 18:44:47 UTC

[airflow] 11/45: Fix tag link on dag detail page (#24918)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 9a5f8739f33d3446d7e6ec4ea154706860688675
Author: Xianghu Zhao <xi...@gmail.com>
AuthorDate: Fri Jul 8 23:17:48 2022 +0800

    Fix tag link on dag detail page (#24918)
    
    (cherry picked from commit 24220bca90c61d0d20b23728a18bca09dd6e41eb)
---
 airflow/www/templates/airflow/dag_details.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/templates/airflow/dag_details.html b/airflow/www/templates/airflow/dag_details.html
index ac0ca50531..e721878ab3 100644
--- a/airflow/www/templates/airflow/dag_details.html
+++ b/airflow/www/templates/airflow/dag_details.html
@@ -105,7 +105,7 @@
         {% if tags is defined and tags %}
           {% for tag in tags | sort(attribute='name') %}
             <a class="label label-info"
-               href="/home?tags={{ tag.name }}"
+               href="{{ url_for('Airflow.index', tags=tag.name) }}"
                style="margin: 3px 6px 3px 0;"
                title="All DAGs tagged &ldquo;{{ tag.name }}&rdquo;"
             >