ecodina commented on issue #39675:
URL: https://github.com/apache/airflow/issues/39675#issuecomment-2117020241

   Thanks @eladkal for finding it! Following your concern (mixing Dag and 
DagRun properties) I believe that adding this should be "simple":
   
   Instead of having:
   `arg_status_filter = request.args.get("status")`
   
   We should have
   
   ```
   arg_status_filter = request.args.get("status")  # all, active, paused
   arg_lastrun_filter = request.args.get("lastrunstatus")   # failed or running
   ```
   
   Then, since we already have the queries (`all_dags`, `active_dags`, 
`paused_dags`, `running_dags`, `failed_dags`) it would be a matter of filtering 
the last two objects.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to