mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12457] [MERGED] Add support for ItemSortBy values in BoxSet #13206
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12457
Author: @lostb1t
Created: 8/16/2024
Status: ✅ Merged
Merged: 8/24/2024
Merged by: @Bond-009
Base:
master← Head:feature/boxset-sort📝 Commits (4)
f737fadRework get children functions to support ItemSortBy valuese59eac6filter in special display order0b7dc7fuse default enum for unordered4344b95make Sort private and use Enum parse📊 Changes
1 file changed (+13 additions, -19 deletions)
View changed files
📝
MediaBrowser.Controller/Entities/Movies/BoxSet.cs(+13 -19)📄 Description
GetChildren and GetRecursiveChildren on the BoxSet class now support all values from ItemSortBy.
This opens up the possibility to add more sorting options for collections in the web ui. (if a sorting comparer exists for it)
for my usercase i want the sorting to be the original insert order.
I settled on using the Default enum for this. Could call it different in the ui if needed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.