Skip to content

Commit cddedbb

Browse files
fix pagination parameter
1 parent a9f4ea8 commit cddedbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CachedBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function paginate(
126126
return parent::paginate($perPage, $columns, $pageName, $page);
127127
}
128128

129-
$page = request("page", $page ?: 1);
129+
$page = request("page[number]", $page ?: 1);
130130
$cacheKey = $this->makeCacheKey($columns, null, "-paginate_by_{$perPage}_{$pageName}_{$page}");
131131

132132
return $this->cachedValue(func_get_args(), $cacheKey);

0 commit comments

Comments
 (0)