1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixes issues with backlog overview page failing to load

Issue #62
This commit is contained in:
Adam 2014-10-30 18:55:22 +08:00
parent 7a564d86f4
commit 8dd822cef0
2 changed files with 16 additions and 11 deletions

View File

@ -37,7 +37,7 @@
* Fixes errors occurring when a show folder is deleted outside of SickRage * Fixes errors occurring when a show folder is deleted outside of SickRage
* Added confirmation dialogs back in that were missed due to new UI changes * Added confirmation dialogs back in that were missed due to new UI changes
* Combined delete and remove buttons in to one on individual show pages * Combined delete and remove buttons in to one on individual show pages
* Fix keyerrors on backlog overview preventing the page to load
### 0.2.1 (2014-10-22 06:41:00 UTC) ### 0.2.1 (2014-10-22 06:41:00 UTC)

View File

@ -91,16 +91,21 @@ Jump to Show
#for $curResult in $showSQLResults[$curShow.indexerid]: #for $curResult in $showSQLResults[$curShow.indexerid]:
#set $whichStr = $str($curResult["season"]) + "x" + $str($curResult["episode"]) #set $whichStr = $str($curResult["season"]) + "x" + $str($curResult["episode"])
#try:
#set $overview = $showCats[$curShow.indexerid][$whichStr] #set $overview = $showCats[$curShow.indexerid][$whichStr]
#except Exception
#continue
#end try
#if $overview not in ($Overview.QUAL, $Overview.WANTED): #if $overview not in ($Overview.QUAL, $Overview.WANTED):
#continue #continue
#end if #end if
<tr class="seasonstyle $Overview.overviewStrings[$showCats[$curShow.indexerid][$whichStr]]"> <tr class="seasonstyle $Overview.overviewStrings[$showCats[$curShow.indexerid][$whichStr]]">
<td class="tableleft" align="center">$whichStr</td> <td class="tableleft" align="center">$whichStr</td>
<td>$curResult["name"]</td> <td>$curResult["name"]</td>
<td class="tableright" align="center" class="nowrap"><div class="${fuzzydate}">#if int($curResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($curResult["airdate"],$curShow.airs,$curShow.network))#</div></td> <td class="tableright" align="center" class="nowrap"><div class="${fuzzydate}">#if int($curResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($curResult["airdate"],$curShow.airs,$curShow.network))#</div></td>
</tr> </tr>
#end for #end for
#end for #end for