mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-20 04:40:27 +01:00
fix: Jellyseerr dont compare against tv original names during sorting
This commit is contained in:
@@ -137,7 +137,7 @@ export const JellyserrIndexPage: React.FC<Props> = ({
|
|||||||
() =>
|
() =>
|
||||||
orderBy(
|
orderBy(
|
||||||
jellyseerrResults?.filter((r) => r.mediaType === MediaType.TV) as TvResult[],
|
jellyseerrResults?.filter((r) => r.mediaType === MediaType.TV) as TvResult[],
|
||||||
sortingType || [t => t.originalName.toLowerCase() == searchQuery.toLowerCase()],
|
sortingType || [t => t.name.toLowerCase() == searchQuery.toLowerCase()],
|
||||||
order || "desc"
|
order || "desc"
|
||||||
),
|
),
|
||||||
[jellyseerrResults, sortingType, order]
|
[jellyseerrResults, sortingType, order]
|
||||||
|
|||||||
Reference in New Issue
Block a user