ashb commented on a change in pull request #8106: [AIRFLOW-7049] Persistent 
display/filtering of DAG status
URL: https://github.com/apache/airflow/pull/8106#discussion_r404761600
 
 

 ##########
 File path: airflow/www/views.py
 ##########
 @@ -2782,10 +2803,14 @@ def autocomplete(self, session=None):
             ~DagModel.is_subdag, DagModel.is_active,
             DagModel.owners.ilike('%' + query + '%'))
 
-        # Hide paused dags
-        if request.args.get('showPaused', 'True').lower() == 'false':
+        # Hide DAGs if not showing status: "all"
 
 Review comment:
   Not sure off the top of my head how this auto-complete works, but might it 
be better to allow auto-completing of all dags, even ones that aren't shown? Or 
is the filtering/searching done client side based on the visible data only?
   
   

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