Sales reps may only see their own customers. Checking a policy per row in Blade breaks pagination ("1-15" but 4 rows visible). Filtering in PHP loads every customer.
Why does @can inside the loop break pagination?
Reveal answer
✓ Answer
The database already returned 15 rows. Hiding some in the view leaves gaps, and the page totals are wrong.

