Remove unused fallbacktype code
This commit is contained in:
parent
947b267936
commit
b697d26a06
|
@ -59,17 +59,6 @@ sub loadItems()
|
|||
|
||||
if data.TotalRecordCount <> invalid then m.top.totalRecordCount = data.TotalRecordCount
|
||||
|
||||
' When loading a collection, if no results are found, try searching by fallback type
|
||||
if data.TotalRecordCount = 0
|
||||
if m.top.FallbackType <> ""
|
||||
' Ensure we didn't just search by the fallback type - prevent infinite loop
|
||||
if m.top.ItemType <> m.top.FallbackType
|
||||
m.top.ItemType = m.top.FallbackType
|
||||
loadItems()
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
|
||||
for each item in data.Items
|
||||
tmp = invalid
|
||||
if item.Type = "Movie"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<field id="itemId" type="string" />
|
||||
<field id="startIndex" type="integer" value="0" />
|
||||
<field id="itemType" type="string" value="" />
|
||||
<field id="fallbackType" type="string" value="" />
|
||||
<field id="limit" type="integer" value="60" />
|
||||
<field id="metadata" type="assocarray" />
|
||||
<field id="sortField" type="string" value="SortName" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user