Disable bulk action only limit to the paginated page

Hi, I tried to disable bulk action using ->checkIfRecordIsSelectableUsing(fn (Model $record): bool => $record->orderDetails->count()); The problem is in clockwork it goes through all records although I the page is paginated by 10. This leads to performance issue. I wonder if there is a way to limit it.
No description
1 Reply
DiegoAbdo
DiegoAbdo14mo ago
v2
Want results from more Discord servers?
Add your server