pierrejeambrun opened a new pull request, #51694:
URL: https://github.com/apache/airflow/pull/51694

   Remove the `offset` from the search param when we modify DagFilters.
   
   Otherwise this would wrongly display "no result found" on the front-end but 
just because we are requesting an offset that does not exist. 
   
   How to reproduce:
   - Browse the dag list, going for instance to page 2 or 3. 
   - Modify one of the filters of the `DagsFilters` component, see that 'no 
results' will appear (suposing there's no 2 or 3 pages of result for that 
filtered query), but actually there are some results.
   
   
   ### Before
   (clicking on "failed" when on page 3 will not reset the offset to 0, API 
will resturn no result for page 3 + failed state ending up in no result 
displayed in the UI).
   ![Screenshot 2025-06-13 at 16 37 
26](https://github.com/user-attachments/assets/cbfdd410-2d57-4a3b-b715-411696d7b178)
   
   
   ### After
   (clicking on "failed" when on page 3 will reset the offset to 0 and display 
the proper result)
   ![Screenshot 2025-06-13 at 16 36 
11](https://github.com/user-attachments/assets/89031874-ac5e-47b5-a7a2-7ab37fbc010f)
   


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