fix: preserve sort order per library/collection

fixes #84
This commit is contained in:
Fredrik Burmester
2024-09-04 22:49:43 +03:00
parent 3f4826c4ce
commit cdc3be41c1
3 changed files with 124 additions and 10 deletions

View File

@@ -204,6 +204,7 @@ export default function index() {
fields: ["PrimaryImageAspectRatio", "Path"],
imageTypeLimit: 1,
enableImageTypes: ["Primary", "Backdrop", "Thumb"],
includeItemTypes: ["Movie"],
parentId: movieCollectionId,
})
).data || [],
@@ -220,6 +221,7 @@ export default function index() {
fields: ["PrimaryImageAspectRatio", "Path"],
imageTypeLimit: 1,
enableImageTypes: ["Primary", "Backdrop", "Thumb"],
includeItemTypes: ["Series"],
parentId: tvShowCollectionId,
})
).data || [],