mirror of
https://github.com/immich-app/immich.git
synced 2025-02-11 01:18:24 -05:00
fix(server) fix order of asset in shared album to be similar to the actual album (#1293)
This commit is contained in:
parent
d1d69bfaf4
commit
a648da021f
1 changed files with 10 additions and 0 deletions
|
@ -70,6 +70,16 @@ export class SharedLinkRepository implements ISharedLinkRepository {
|
||||||
},
|
},
|
||||||
order: {
|
order: {
|
||||||
createdAt: 'DESC',
|
createdAt: 'DESC',
|
||||||
|
assets: {
|
||||||
|
createdAt: 'ASC',
|
||||||
|
},
|
||||||
|
album: {
|
||||||
|
assets: {
|
||||||
|
assetInfo: {
|
||||||
|
createdAt: 'ASC',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue