zacharya19 commented on a change in pull request #11661:
URL: https://github.com/apache/airflow/pull/11661#discussion_r507981342
##########
File path: airflow/www/views.py
##########
@@ -418,12 +418,15 @@ def get_int_arg(value, default=0):
if request.args.get('reset_tags') is not None:
flask_session[FILTER_TAGS_COOKIE] = None
arg_tags_filter = None
Review comment:
No longer needed.
##########
File path: airflow/www/views.py
##########
@@ -418,12 +418,15 @@ def get_int_arg(value, default=0):
if request.args.get('reset_tags') is not None:
flask_session[FILTER_TAGS_COOKIE] = None
arg_tags_filter = None
+ # Remove the reset_tags=reset from the URL
+ return redirect(url_for('Airflow.index'))
else:
Review comment:
Since you're returning in the if block, you can remove the else
condition here.
----------------------------------------------------------------
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]