vedjaw opened a new pull request, #70925: URL: https://github.com/apache/airflow/pull/70925
## What this PR does / why we need it Closes #70856 After #65604, the Dag Runs UI always uses cursor pagination, so the API no longer returns \`total_entries\` and the DataTable count heading disappeared between 3.2.1 and 3.2.2. This keeps cursor pagination as the default (fast path) and adds an opt-in **Show total count** switch that uses offset pagination to restore \`total_entries\` / the row count heading. ## Preference for how this is reviewed - [x] I prefer that this PR is reviewed as a whole ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) ## How was this tested Manual reasoning against \`DataTable\` / \`get_dag_runs\` cursor vs offset contracts. Prefer UI review in breeze/dev UI. ## Docs N/A (UI affordance with defaultValue label) Made with [Cursor](https://cursor.com) -- 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]
