From b697d26a06e814ed7de62f319c1e2d74f6726057 Mon Sep 17 00:00:00 2001
From: 1hitsong <3330318+1hitsong@users.noreply.github.com>
Date: Sat, 11 Jun 2022 09:42:43 -0400
Subject: [PATCH] Remove unused fallbacktype code
---
components/ItemGrid/LoadItemsTask2.brs | 11 -----------
components/ItemGrid/LoadItemsTask2.xml | 1 -
2 files changed, 12 deletions(-)
diff --git a/components/ItemGrid/LoadItemsTask2.brs b/components/ItemGrid/LoadItemsTask2.brs
index a0dd279e..f91802ca 100644
--- a/components/ItemGrid/LoadItemsTask2.brs
+++ b/components/ItemGrid/LoadItemsTask2.brs
@@ -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"
diff --git a/components/ItemGrid/LoadItemsTask2.xml b/components/ItemGrid/LoadItemsTask2.xml
index e955e54c..91780ea1 100644
--- a/components/ItemGrid/LoadItemsTask2.xml
+++ b/components/ItemGrid/LoadItemsTask2.xml
@@ -5,7 +5,6 @@
-