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:
Ray 2025-12-22 15:44:08 -05:00 committed by GitHub
parent af54e777dc
commit 9a08cf3f25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 139 additions and 63 deletions

View file

@ -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,