mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: people ordering by asset count (#19366)
This commit is contained in:
parent
a5ed453929
commit
00aa385972
3 changed files with 17 additions and 15 deletions
|
|
@ -35,8 +35,9 @@ having
|
|||
order by
|
||||
"person"."isHidden" asc,
|
||||
"person"."isFavorite" desc,
|
||||
NULLIF(person.name, '') asc nulls last,
|
||||
NULLIF(person.name, '') is null asc,
|
||||
count("asset_faces"."assetId") desc,
|
||||
NULLIF(person.name, '') asc nulls last,
|
||||
"person"."createdAt"
|
||||
limit
|
||||
$5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue