Merge pull request #3279 from CihanSenturk/fix-bulk-action-page-and-limit-control

Fixed bulk action page and limit control
This commit is contained in:
Cihan Şentürk 2025-03-28 11:14:09 +03:00 committed by GitHub
commit 89ae0f4fdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -73,6 +73,20 @@ class Bulkaction extends Component
}
}
$query = [];
if (request()->has('page')) {
$query['page'] = request()->get('page');
}
if (request()->has('limit')) {
$query['limit'] = request()->get('limit');
}
if ($query) {
$this->path .= '?' . http_build_query($query);
}
$actions = [];
if ($bulk_action->actions) {