mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(server): sort assets randomly from the API 'api/search/metadata' endpoint by including 'order': 'rand' in the API call. (#12741)
feat(server): search metadata random sort order Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
parent
a7719a94fc
commit
9f8a7e0bea
15 changed files with 967 additions and 11 deletions
|
|
@ -116,6 +116,7 @@ export interface SearchPeopleOptions {
|
|||
|
||||
export interface SearchOrderOptions {
|
||||
orderDirection?: 'ASC' | 'DESC';
|
||||
random?: boolean;
|
||||
}
|
||||
|
||||
export interface SearchPaginationOptions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue