Xiaodong DENG created AIRFLOW-4459:
--------------------------------------

             Summary: To fix the issue that the DAG count in /home page may be 
wrong when DAG count is 0
                 Key: AIRFLOW-4459
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4459
             Project: Apache Airflow
          Issue Type: Bug
          Components: ui
    Affects Versions: 1.10.3
            Reporter: Xiaodong DENG
            Assignee: Xiaodong DENG
             Fix For: 1.10.4


When there is no DAG (maybe no DAG file deployed yet, or no matching result 
when we search), the the DAG count at the right bottom corner may be wrong. It 
will be "Showing 1 to 0  of 0 entries", while it should be "Showing 0 to 0  of 
0 entries".

On the other hand, if we provide URL argument "page" a too big value, let's say 
we only have 10 DAGs, and we visit 
"[http://localhost:8080/home?page=|http://localhost:8080/home?page=10]3";, we 
may see results like "Showing 21 to 10 of 10 entries", which is wrong for sure 
as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to