Skip to content

Commit 974bd79

Browse files
committed
fix: query error on laravel 12
1 parent 2edc083 commit 974bd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/ContentService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function findByRoutePatternWithLangId($uri, $isDefaultRoutePattern, $isWe
3737
$query = $this
3838
->buildFindWithRouteQuery(
3939
fn ($q) => $q
40-
->where('uri', $uri)
40+
->where($q->qualifyColumn('uri'), $uri)
4141
->when($isDefaultRoutePattern != null, fn ($q) => $q->whereIsDefaultPattern())
4242
)
4343
->with($withRelations);

0 commit comments

Comments
 (0)