made it so the dataSource is stored as a string

This commit is contained in:
Anch
2022-08-17 17:03:06 +12:00
parent df97a50654
commit 7709b8a208
8 changed files with 45 additions and 44 deletions
+2 -2
View File
@@ -704,7 +704,7 @@ local function DoSearch(searchText)
end
function AtlasLoot:ShowSearchResult()
AtlasLoot:ShowItemsFrame("SearchResult", AtlasLootCharDB, 1);
AtlasLoot:ShowItemsFrame("SearchResult", "AtlasLootCharDB", 1);
end
function AtlasLoot:Search(Text)
@@ -755,7 +755,7 @@ function AtlasLoot:Search(Text)
end
DEFAULT_CHAT_FRAME:AddMessage(RED .. AL["AtlasLoot"] .. ": " .. WHITE .. AL["No match found for"] .. " \"" .. Text .. "\"." .. itemFilterErrorMessage);
else
AtlasLoot:ShowItemsFrame("SearchResult", AtlasLootCharDB, 1);
AtlasLoot:ShowItemsFrame("SearchResult", "AtlasLootCharDB", 1);
end
end