fixed bulk action page and limit control

This commit is contained in:
Cihan Şentürk 2025-03-28 11:13:02 +03:00 committed by GitHub
parent 19adb56f52
commit 9f30bc7174
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) {