diff --git a/Baggins-Search.lua b/Baggins-Search.lua index b39a129..c0bd807 100644 --- a/Baggins-Search.lua +++ b/Baggins-Search.lua @@ -116,7 +116,7 @@ function BagginsSearch:Search(search) --luacheck: ignore 212 if button:IsVisible() then if strlen(search) == 0 or search == "" then button:UnlockHighlight() - button:SetAlpha(tonumber(Baggins.db.profile.unmatchedAlpha) or 0.2) + button:SetAlpha(1) else local link = GetContainerItemLink(button:GetParent():GetID(), button:GetID()) if link then diff --git a/src/filters/ContainerType.lua b/src/filters/ContainerType.lua index 9170246..83122f7 100644 --- a/src/filters/ContainerType.lua +++ b/src/filters/ContainerType.lua @@ -30,7 +30,7 @@ local ContainerTypes = {} -- Initialize filter local function BuildContainerTypes() -- Build array of containers - if AddOn:IsRetailWow() then + if not AddOn:IsRetailWow() then for _, subClassID in pairs({GetAuctionItemSubClasses(LE_ITEM_CLASS_CONTAINER)}) do --print(subClassID, (GetItemSubClassInfo(LE_ITEM_CLASS_CONTAINER, subClassID))) ContainerTypes[subClassID] = GetItemSubClassInfo(LE_ITEM_CLASS_CONTAINER, subClassID)