mirror of
https://github.com/immich-app/immich.git
synced 2025-01-19 18:26:46 +01:00
fix(server): asset search query (#1806)
This commit is contained in:
parent
87fea29e32
commit
7dc7281e69
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ export class AssetService {
|
|||
LEFT JOIN smart_info si ON a.id = si."assetId"
|
||||
LEFT JOIN exif e ON a.id = e."assetId"
|
||||
|
||||
WHERE a."userId" = $1
|
||||
WHERE a."ownerId" = $1
|
||||
AND
|
||||
(
|
||||
TO_TSVECTOR('english', ARRAY_TO_STRING(si.tags, ',')) @@ PLAINTO_TSQUERY('english', $2) OR
|
||||
|
|
Loading…
Reference in a new issue