We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36a6883 + 0241129 commit b9e062dCopy full SHA for b9e062d
src/Http/Controllers/BaseController.php
@@ -621,11 +621,15 @@ protected function keyName(): string
621
*/
622
protected function shouldPaginate(Request $request, int $paginationLimit): bool
623
{
624
+ if (property_exists($this, 'paginationDisabled')) {
625
+ return ! $this->paginationDisabled;
626
+ }
627
+
628
if (app()->bound('orion.paginationEnabled')) {
629
return app()->make('orion.paginationEnabled');
630
}
631
- return !property_exists($this, 'paginationDisabled');
632
+ return true;
633
634
635
/**
0 commit comments