forked from Ninjalama/streamyfin_mirror
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(
|
||||
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"
|
||||
),
|
||||
[jellyseerrResults, sortingType, order]
|
||||
|
||||
Reference in New Issue
Block a user