This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 5de7cda7047 Reset table offset when DagFiltering changes (#51694)
5de7cda7047 is described below
commit 5de7cda70478ff43c3b7fb995092900750fb7996
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Fri Jun 13 16:44:58 2025 +0200
Reset table offset when DagFiltering changes (#51694)
---
.../src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx
b/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx
index d36e2b2f8ef..1e17de5b221 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.tsx
@@ -89,6 +89,7 @@ export const DagsFilters = () => {
pagination: { ...pagination, pageIndex: 0 },
sorting,
});
+ searchParams.delete("offset");
setSearchParams(searchParams);
},
[pagination, searchParams, setSearchParams, setTableURLState, sorting],
@@ -105,6 +106,7 @@ export const DagsFilters = () => {
pagination: { ...pagination, pageIndex: 0 },
sorting,
});
+ searchParams.delete("offset");
setSearchParams(searchParams);
},
[pagination, searchParams, setSearchParams, setTableURLState, sorting],
@@ -124,6 +126,7 @@ export const DagsFilters = () => {
if (tags.length < 2) {
searchParams.delete(TAGS_MATCH_MODE_PARAM);
}
+ searchParams.delete("offset");
setSearchParams(searchParams);
},
[searchParams, setSearchParams],