From 97efb5e480bc8a5db7a8e0f1d39ebb524186bf68 Mon Sep 17 00:00:00 2001 From: higurush Date: Sat, 5 Jun 2021 16:25:03 +0200 Subject: [PATCH] Disable Equipable Gear on Item Level Search out of scope for now --- AtlasLoot/Core/Search.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AtlasLoot/Core/Search.lua b/AtlasLoot/Core/Search.lua index 4aad053..1937aad 100644 --- a/AtlasLoot/Core/Search.lua +++ b/AtlasLoot/Core/Search.lua @@ -327,7 +327,10 @@ function AtlasLoot:Search(Text) end local function IsItemLevelFilterMatch(searchText, itemLvl, itemEquipLoc, operator) local itemInfoFilter = HaveItemInfoFilter(searchText); - if itemInfoFilter and itemLvl ~= nil and itemLvl > 0 and IsEquipableGear(itemEquipLoc) and IsItemLevelFilter(itemInfoFilter) then + if itemInfoFilter and itemLvl ~= nil and itemLvl > 0 + --and IsEquipableGear(itemEquipLoc) + and IsItemLevelFilter(itemInfoFilter) + then local searchedItemLevel = tonumber(string.match(searchText, "%d+")); if CompareNumbersByOperator(operator, itemLvl, searchedItemLevel) then return true;