Skip to content

Content Optimization: list silently caps at 100 opportunities while advertising the full total — wire up the shared TablePager #610

Closed

Description

@gkhngyk

Problem

The Content Optimization list always fetches with a fixed limit: 100, but the UI advertises the full server-side total: the "{total} Available" badge and the Total KPI show numbers the table can never display. Anything past the first 100 opportunities is unreachable from the UI, and the "X shown" sub-label quietly papers over the gap.

Evidence

Suggested fix

Wire up the shared usePagination/TablePager with server-side paging: pass offset from the pager into getOpportunities, drive the pager's total from the server total, and reset to page 0 when filters change (the citations page shows the resetKey pattern). Bulk-select semantics should be scoped to the current page.

Acceptance criteria

  • All opportunities are reachable through pagination, not just the first 100.
  • The badge/KPI totals match what the table can actually show.
  • Changing filters resets to the first page.

Activity

  1. added
    enhancement
    on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions