mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
helper refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user