Context: The existing Admin feedback page processed status filters on the client side, but this conflicted with server-side pagination (20 items/page), causing feedbacks in the given status on other pages to be missed.
Choice: Add status query parameter to Identity findAll, propagate through the full pipeline (Identity→Gateway→Frontend)
Alternatives: Load all data at once on the client — inefficient as data grows
When to Reuse: When needing to show filtering stats on a dashboard with a paginated API. Including counts in the list API response avoids additional calls.
Gotchas
G1: Client filter + server pagination combination is always incomplete
Symptom: Status filter applied only within the current page's 20 items, missing feedbacks in that status on other pages
Root Cause: Server returns 20 items regardless of status, client filters within those
Fix: Filters must be applied at the server query level (WHERE clause)