From ba9178a0f6028796ef07fcf8aba24f9070cd5cca Mon Sep 17 00:00:00 2001 From: herrrta <73949927+herrrta@users.noreply.github.com> Date: Wed, 5 Mar 2025 01:30:42 -0500 Subject: [PATCH] fix: Jellyseerr dont compare against tv original names during sorting --- components/jellyseerr/JellyseerrIndexPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/jellyseerr/JellyseerrIndexPage.tsx b/components/jellyseerr/JellyseerrIndexPage.tsx index 0363ae1e..e597f12f 100644 --- a/components/jellyseerr/JellyseerrIndexPage.tsx +++ b/components/jellyseerr/JellyseerrIndexPage.tsx @@ -137,7 +137,7 @@ export const JellyserrIndexPage: React.FC = ({ () => 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]