mirror of
https://github.com/immich-app/immich.git
synced 2025-12-28 01:11:47 +03:00
fix(server): Fix incorrect sorting with search (#6031)
The search results are not sorted by date causing confision. Fixes #5916
This commit is contained in:
@@ -841,5 +841,7 @@ WHERE
|
||||
) @@ PLAINTO_TSQUERY('english', $3)
|
||||
)
|
||||
AND ("asset"."deletedAt" IS NULL)
|
||||
ORDER BY
|
||||
"asset"."fileCreatedAt" DESC
|
||||
LIMIT
|
||||
250
|
||||
|
||||
Reference in New Issue
Block a user