diff FilterBar.lua @ 82:26d736fbfe67 v1.4.4

- Fixed filter bar issues
author Nenue
date Mon, 10 Apr 2017 17:29:28 -0400
parents 31de7e9e7849
children a12f782571c5
line wrap: on
line diff
--- a/FilterBar.lua	Mon Apr 10 16:44:45 2017 -0400
+++ b/FilterBar.lua	Mon Apr 10 17:29:28 2017 -0400
@@ -184,7 +184,7 @@
   local relativeFrame = self
 
     local numHeaders = 0
-  print('|cFF00FF88'..self:GetName()..':Update()|r', 'currentMap=',WorldPlan.currentMapID)
+  print('|cFF00FF88'..self:GetName()..':Update()|r', 'currentMap=',db.currentMapID)
 
 
   local layout = db.DefaultFilterType
@@ -203,13 +203,14 @@
       if pin.used then
 
         if (pin.worldQuestType ~= LE_QUEST_TAG_TYPE_PROFESSION) or (db.Config.ShowAllProfessionQuests or pin.isKnownProfession) then
-          --print(pin.title)
+
           if not info.filterKey then
             if mapQuests[questID] then
                 numQuestsHere = numQuestsHere + 1
             end
             numQuestsTotal = numQuestsTotal + 1
           elseif pin[info.filterKey] == info.filterValue then
+            print(pin.title, mapQuests[questID])
             if mapQuests[questID] then
               numQuestsHere = numQuestsHere + 1
               tinsert(info.questList, pin)