mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
sortBy query param is being ignored in Shows/{seriesId/Episodes endpoint #6856
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?
Originally created by @carlosjfcasero on GitHub (Mar 28, 2025).
Description of the bug
In endpoint /Shows/{seriesId}/Episodes query param "sortBy" is ignored. According to
2c499d1e86/Jellyfin.Api/Controllers/TvShowsController.csit seems it's not being usedReproduction steps
Call to mentioned API with sortBy query param
No matter what value you set there, response is always the same
What is the current bug behavior?
The controller ignores the query param
What is the expected correct behavior?
The controller reads the value of the query param and use it
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.10.6
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@Pentaphon commented on GitHub (Mar 30, 2025):
I can confirm this.
@Shadowghost commented on GitHub (Mar 30, 2025):
As you can see in L296, only random is currently supported. To make this generic, we'd need to switch to
InternalltemQueryfor fetching the data@carlosjfcasero commented on GitHub (Apr 16, 2025):
As far as I can see in the API documentation, a lot of options are supposed to be supported