This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new fc8789d1935 [v3-0-test] Fix DagRun list (#52986) (#52989)
fc8789d1935 is described below
commit fc8789d19355ea8f74de2072065eb99d638f5421
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jul 8 00:41:14 2025 +0530
[v3-0-test] Fix DagRun list (#52986) (#52989)
(cherry picked from commit 64d87e56350cb4806171f6a831eb1c6d254dd472)
Co-authored-by: Pierre Jeambrun <[email protected]>
---
airflow-core/src/airflow/ui/src/pages/DagRuns.tsx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
index b3faf701959..831727105ba 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
@@ -22,7 +22,6 @@ import { Flex, HStack, Link, type SelectValueChangeDetails,
Text } from "@chakra
import type { ColumnDef } from "@tanstack/react-table";
import { useCallback } from "react";
import { Link as RouterLink, useParams, useSearchParams } from
"react-router-dom";
-import { useLocalStorage } from "usehooks-ts";
import { useDagRunServiceGetDagRuns } from "openapi/queries";
import type { DAGRunResponse, DagRunState, DagRunType } from
"openapi/requests/types.gen";
@@ -148,13 +147,12 @@ export const DagRuns = () => {
const endDate = searchParams.get(END_DATE_PARAM);
const refetchInterval = useAutoRefresh({});
- const [limit] = useLocalStorage<number>(`dag_runs_limit-${dagId}`, 10);
const { data, error, isLoading } = useDagRunServiceGetDagRuns(
{
dagId: dagId ?? "~",
endDateLte: endDate ?? undefined,
- limit,
+ limit: pagination.pageSize,
offset: pagination.pageIndex * pagination.pageSize,
orderBy,
runType: filteredType === null ? undefined : [filteredType],