The targets list loaded one unpaged request; with many targets it grew
long, and every caller silently saw only the agent's default first 50.
- Agent: GET /api/v1/targets sorts by _id (creation order) before
skip/limit, so pages are stable; page/limit (clamped by
PaginationParams) and the project filter were already applied, total
counts the filtered selection.
- Dashboard: fetch_targets_page(project, page, limit) for the targets
page; fetch_targets() now reads every page (200 each, capped), so the
overview, findings, SBOM, graph, chat and pentest-wizard pickers get
all targets instead of the first 50.
- Targets page: pager, page size (20/50/100), target count; changing
the project or page size goes back to page 1; a page past the end
moves to the last one.
- Pagination component reads German/English from i18n (also on the
findings, SBOM and issues pages).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p