mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
Don't use saved library info for genre grids (#540)
## Description The filtering & sorting for the genre results grid is now independent from the actual library. This prevents having a filter saved on the actual library that conflicts with the Genre grid. Also shows the genre name in the title of the page ### Related issues Fixes #536
This commit is contained in:
parent
af54e777dc
commit
9a08cf3f25
13 changed files with 139 additions and 63 deletions
|
|
@ -14,6 +14,16 @@ import org.jellyfin.sdk.model.api.request.GetPersonsRequest
|
|||
import org.jellyfin.sdk.model.serializer.UUIDSerializer
|
||||
import java.util.UUID
|
||||
|
||||
@Serializable
|
||||
data class CollectionFolderFilter(
|
||||
val nameOverride: String? = null,
|
||||
val filter: GetItemsFilter = GetItemsFilter(),
|
||||
/**
|
||||
* Whether to use the libray's saved sort & filter
|
||||
*/
|
||||
val useSavedLibraryDisplayInfo: Boolean = true,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class GetItemsFilter(
|
||||
val favorite: Boolean? = null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue