helper refactoring

This commit is contained in:
Čarodej
2022-05-27 09:25:31 +02:00
parent 1d670fcb52
commit d8789a4788

View File

@@ -1218,7 +1218,7 @@ if (! function_exists('extractItemsFromGetAttribute')) {
int $totalEntries
): array {
$uri = request()->fullUrl();
$perPage = config('vuefilemanager.paginate.perPage');
$perPage = intval(config('vuefilemanager.paginate.perPage'));
$lastPage = ceil($totalEntries / $perPage);
$currentPage = request()->input('page') === 'all'
? 1