mirror of
https://github.com/immich-app/immich.git
synced 2024-11-27 09:21:05 +02:00
fix(server): /places
entries sometimes not ordered alphabetically (#10514)
This commit is contained in:
parent
5e9a7b17d9
commit
42f3b50422
@ -405,3 +405,5 @@ FROM
|
||||
"assets" "asset"
|
||||
INNER JOIN "exif" "exif" ON "exif"."assetId" = "asset"."id"
|
||||
INNER JOIN cte ON asset.id = cte."assetId"
|
||||
ORDER BY
|
||||
exif.city
|
||||
|
@ -52,7 +52,7 @@ export class SearchRepository implements ISearchRepository {
|
||||
.innerJoinAndSelect('asset.exifInfo', 'exif')
|
||||
.withDeleted()
|
||||
.getQuery() +
|
||||
' INNER JOIN cte ON asset.id = cte."assetId"';
|
||||
' INNER JOIN cte ON asset.id = cte."assetId" ORDER BY exif.city';
|
||||
}
|
||||
|
||||
async init(modelName: string): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user