diff --git a/CHANGES.md b/CHANGES.md index 69fdb482..93404933 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -30,6 +30,7 @@ * Fix errors occurring when a show folder is deleted outside of SickRage * Combined delete and remove buttons in to one on individual show pages * Other small UI tweaks +* Fix keyerrors on backlog overview preventing the page to load [develop changelog] * Improve display of progress bars in the Downloads columns of the show list page diff --git a/gui/slick/interfaces/default/manage_backlogOverview.tmpl b/gui/slick/interfaces/default/manage_backlogOverview.tmpl index 6fba8392..a4af04de 100644 --- a/gui/slick/interfaces/default/manage_backlogOverview.tmpl +++ b/gui/slick/interfaces/default/manage_backlogOverview.tmpl @@ -90,17 +90,22 @@ Jump to Show EpisodeNameAirdate #for $curResult in $showSQLResults[$curShow.indexerid]: -#set $whichStr = $str($curResult["season"]) + "x" + $str($curResult["episode"]) -#set $overview = $showCats[$curShow.indexerid][$whichStr] -#if $overview not in ($Overview.QUAL, $Overview.WANTED): -#continue -#end if - - $whichStr - $curResult["name"] -
#if int($curResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($curResult["airdate"],$curShow.airs,$curShow.network))#
- + #set $whichStr = $str($curResult["season"]) + "x" + $str($curResult["episode"]) + #try: + #set $overview = $showCats[$curShow.indexerid][$whichStr] + #except Exception + #continue + #end try + #if $overview not in ($Overview.QUAL, $Overview.WANTED): + #continue + #end if + + + $whichStr + $curResult["name"] +
#if int($curResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($curResult["airdate"],$curShow.airs,$curShow.network))#
+ #end for #end for