diff --git a/src/Queries/BaseQuery.php b/src/Queries/BaseQuery.php index ec84f5f..94ac66c 100644 --- a/src/Queries/BaseQuery.php +++ b/src/Queries/BaseQuery.php @@ -118,12 +118,7 @@ protected function setup(string|Builder $model, ?Request $request = null): self */ public function front(): QueryResponse { - $this->loadRequest(); - - return QueryResponse::make( - original: $this->paginate(), - defaultSort: $this->defaultSort - ); + return $this->inertia(); } /**