10.11.0 - Library sort-by option sorts each page individually instead of the library as a whole #7516

Closed
opened 2026-02-07 05:07:37 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @farces on GitHub (Oct 23, 2025).

Description of the bug

After upgrading to 10.11.0, sorting a library that is large enough to span multiple pages sorts only the current page.

What looks like is happening (with sort by Date Added as the example) is that pagination and sorting is happening out of order, so the library is paginated based on the original library order (alphabetical) and the sort is then being applied to the current page. The result is that each page has an alphabetically correct set of content i.e. page 1 has videos all starting with the letter "A", but the order is based on the Date Added for each item on that page instead of across the entire library.

Choosing Ascending or Descending reorders the current page, but doesn't bring in any items from the rest of the library.

My library has a few thousand videos, I can't confirm if this happens on smaller libraries.

Reproduction steps

  1. Have a library with multiple pages of content, added over a period of time.
  2. Change sort-by to "Date Added", ascending or descending both have this issue.

What is the current bug behavior?

Each individual page is sorted instead of the entire paginated library.

What is the expected correct behavior?

Sort should sort the entire library, not just the current page.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.11.0

Environment

- OS: Synology DSM
- Virtualization: Docker
- Clients: Browser, iOS
- Browser: Firefox, Chrome

Jellyfin logs

no relevant logs available for the sort option

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @farces on GitHub (Oct 23, 2025). ### Description of the bug After upgrading to 10.11.0, sorting a library that is large enough to span multiple pages sorts only the current page. What looks like is happening (with sort by Date Added as the example) is that pagination and sorting is happening out of order, so the library is paginated based on the original library order (alphabetical) and the sort is then being applied to the current page. The result is that each page has an alphabetically correct set of content i.e. page 1 has videos all starting with the letter "A", but the order is based on the Date Added for each item on that page instead of across the entire library. Choosing Ascending or Descending reorders the current page, but doesn't bring in any items from the rest of the library. My library has a few thousand videos, I can't confirm if this happens on smaller libraries. ### Reproduction steps 1. Have a library with multiple pages of content, added over a period of time. 2. Change sort-by to "Date Added", ascending or descending both have this issue. ### What is the current _bug_ behavior? Each individual page is sorted instead of the entire paginated library. ### What is the expected _correct_ behavior? Sort should sort the entire library, not just the current page. ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.11.0 ### Environment ```markdown - OS: Synology DSM - Virtualization: Docker - Clients: Browser, iOS - Browser: Firefox, Chrome ``` ### Jellyfin logs ```shell no relevant logs available for the sort option ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bug label 2026-02-07 05:07:37 +03:00
Author
Owner

@damientkyt commented on GitHub (Oct 23, 2025):

Same issue here. Groups of 400, 100+, 1000+ does the same thing.

@damientkyt commented on GitHub (Oct 23, 2025): Same issue here. Groups of 400, 100+, 1000+ does the same thing.
Author
Owner

@Keivry commented on GitHub (Oct 24, 2025):

Same issue here.

@Keivry commented on GitHub (Oct 24, 2025): Same issue here.
Author
Owner

@theguymadmax commented on GitHub (Oct 24, 2025):

@farces This bug happens when you enable Group movies into collections from Dashboard -> Libraries -> Display.

Can you confirm that if you have this option enabled, and if you do, does disabling produce the correct behavior in the library? Also, can you confirm what type of library you are referring to?

@theguymadmax commented on GitHub (Oct 24, 2025): @farces This bug happens when you enable Group movies into collections from Dashboard -> Libraries -> Display. Can you confirm that if you have this option enabled, and if you do, does disabling produce the correct behavior in the library? Also, can you confirm what type of library you are referring to?
Author
Owner

@CVLover commented on GitHub (Oct 24, 2025):

Same issue for me.

@CVLover commented on GitHub (Oct 24, 2025): Same issue for me.
Author
Owner

@farces commented on GitHub (Oct 26, 2025):

@farces This bug happens when you enable Group movies into collections from Dashboard -> Libraries -> Display.

Can you confirm that if you have this option enabled, and if you do, does disabling produce the correct behavior in the library? Also, can you confirm what type of library you are referring to?

I checked and this option isn't enabled. The library type shows as Other, but has configuration for metadata downloaders for both movies and episodes, so I think it's likely the "Mixed Movies and Shows" type.

Would the referenced PR fix this as well?

@farces commented on GitHub (Oct 26, 2025): > [@farces](https://github.com/farces) This bug happens when you enable Group movies into collections from Dashboard -> Libraries -> Display. > > Can you confirm that if you have this option enabled, and if you do, does disabling produce the correct behavior in the library? Also, can you confirm what type of library you are referring to? I checked and this option isn't enabled. The library type shows as Other, but has configuration for metadata downloaders for both movies and episodes, so I think it's likely the "Mixed Movies and Shows" type. Would the referenced PR fix this as well?
Author
Owner

@theguymadmax commented on GitHub (Oct 27, 2025):

Fixed by #15187

@theguymadmax commented on GitHub (Oct 27, 2025): Fixed by #15187
Author
Owner

@farces commented on GitHub (Oct 27, 2025):

Just posting to confirm that 10.11.1 resolved this for me, regardless of not having the "Group movies into collections" option enabled. Thanks for the quick turnaround!

@farces commented on GitHub (Oct 27, 2025): Just posting to confirm that 10.11.1 resolved this for me, regardless of not having the "Group movies into collections" option enabled. Thanks for the quick turnaround!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#7516