From b8c8e0239455ba6fc528332de01de0121e18f2af Mon Sep 17 00:00:00 2001 From: Ofir Brukner Date: Mon, 13 Oct 2014 12:49:05 +0300 Subject: [PATCH] Fixed a tiny bug in searchShowSubtitles, to show all languages instead of just the new one. --- sickbeard/webserve.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 46e88f5e..b890f326 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -4472,7 +4472,8 @@ class Home(MainHandler): else: status = 'No subtitles downloaded' ui.notifications.message('Subtitles Search', status) - return json.dumps({'result': status, 'subtitles': ','.join([x.alpha2 for x in ep_obj.subtitles])}) + return json.dumps({'result': status, 'subtitles': ','.join(sorted([x.alpha2 for x in + ep_obj.subtitles.union(previous_subtitles)]))}) def setSceneNumbering(self, show, indexer, forSeason=None, forEpisode=None, forAbsolute=None, sceneSeason=None, sceneEpisode=None, sceneAbsolute=None):