Skip to content

Commit

Permalink
--fixed SQLSTATE[HY093]: Invalid parameter number
Browse files Browse the repository at this point in the history
  • Loading branch information
waadmawlood authored Aug 22, 2024
1 parent 324364a commit 7a972e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Repositories/BaseRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function indexObject(Request $request, array|null $where = null, string|n

if ($request->has('search') && filled($request->search)) {
$strict = ! $request->strict;
$this->result = $this->result->withoutGlobalScopes();
$this->result = $this->result->search($request->search, null, true, $strict);
}

Expand Down

0 comments on commit 7a972e3

Please sign in to comment.