Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4a3d18 + c1d343a commit 43f388bCopy full SHA for 43f388b
1 file changed
src/Illuminate/Pagination/Factory.php
@@ -126,7 +126,7 @@ public function getPaginationView(Paginator $paginator, $view = null)
126
*/
127
public function getCurrentPage()
128
{
129
- $page = (int) $this->currentPage ?: $this->request->query->get($this->pageName, 1);
+ $page = (int) $this->currentPage ?: $this->request->input($this->pageName, 1);
130
131
if ($page < 1 || filter_var($page, FILTER_VALIDATE_INT) === false)
132
0 commit comments