Skip to content

Fix/list pagination 50 cap - #542

Merged
codyllord merged 2 commits into
developfrom
fix/list-pagination-50-cap
Oct 13, 2026
Merged

codyllord merged 2 commits into
developfrom
fix/list-pagination-50-cap

Conversation

@codyllord

Copy link
Copy Markdown
Contributor

Fixes an issue where the default loading value of services on the front end was capped at 50, the UI would list xx number of services however after paging past 50 no services would display in the list.

Manage tables page client-side over whatever the list request returned,
but DfBaseCrudService.getAll defaulted to limit=50 while include_count
still reported the full total. With more than 50 services in one API
Types group (customer: 96 scripting services) the paginator showed
"51 - 60 of 96" over an empty table with the "Create a service" empty
state, and no further request was ever made.

History: #234 (944cd19, May 2024) commented out the server-side
refetch in changePage and moved paging client-side, raising the default
limit 10 -> 100 to compensate. 9fc4acb (Sep 2024) then lowered the
default to 50 inside an unrelated splash-screen change, which is the cap
every release since 7.0.1 ships.

- getAll and getEventScripts default to limit=0 (all rows; the server
  still caps at max_records_returned). Covers every ServiceRoutes page
  (Database, Scripting, Network, File, Utility, Authentication, Logs,
  Platform APIs, AI) and Event Scripts, which truncated at 50 silently.
- API Docs: drop the `100 || limit` (always 100) and the resolver's
  limit of 100, which cut the list at 100 services.
- Search no longer limits results to one page size, which left every
  page after the first empty, and now resets the paginator to page one.
Rebuilt on top of main (a5a74c7). Every chunk is renamed because main's dist was last built with a different node_modules state; this build is from the lockfile-exact install.
@codyllord
codyllord merged commit ba9d66b into develop Oct 13, 2026
1 check passed
@codyllord
codyllord deleted the fix/list-pagination-50-cap branch October 13, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant