Skip to content

Commit e7f061b

Browse files
committed
fix
1 parent 9fde5ff commit e7f061b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/Resources/Resource.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,10 @@ public function resolveFilteredQuery(Request $request): Builder
283283
*/
284284
public function resolveRouteBindingQuery(Request $request): Builder
285285
{
286-
return $this->resolveQuery($request)
287-
->withoutEagerLoads()
288-
->when(
289-
$this->isSoftDeletable(),
290-
static fn (Builder $query): Builder => $query->withTrashed()
291-
);
286+
return $this->resolveQuery($request)->when(
287+
$this->isSoftDeletable(),
288+
static fn (Builder $query): Builder => $query->withTrashed()
289+
);
292290
}
293291

294292
/**

src/Root.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Root
2727
*
2828
* @var string
2929
*/
30-
public const string VERSION = '2.7.9';
30+
public const string VERSION = '2.7.10';
3131

3232
/**
3333
* The registered booting callbacks.

0 commit comments

Comments
 (0)