New release

Leandro Silva [11-19-18 - 08:24]
New release
Filename
LeoGuildManager.txt
LeoGuildManagerInit.lua
LeoGuildManagerUI.lua
diff --git a/LeoGuildManager.txt b/LeoGuildManager.txt
index c26a3ba..05be95e 100644
--- a/LeoGuildManager.txt
+++ b/LeoGuildManager.txt
@@ -1,7 +1,7 @@
 ## Title: Leo's Guild Manager
 ## APIVersion: 100024 100025
-## Version: 1.1.7
-## AddOnVersion: 117
+## Version: 1.1.8
+## AddOnVersion: 118
 ## Author: |c39B027@LeandroSilva|r
 ## SavedVariables: LeoGuildManagerGlobalData LeoGuildManagerScanData
 ## OptionalDependsOn: LibStub LibFeedback LibAddonMenu-2.0
diff --git a/LeoGuildManagerInit.lua b/LeoGuildManagerInit.lua
index 3daf705..5beb142 100644
--- a/LeoGuildManagerInit.lua
+++ b/LeoGuildManagerInit.lua
@@ -4,7 +4,7 @@ LeoGuildManagerUI = LeoGuildManagerUI or {}

 LeoGuildManager.name = "LeoGuildManager"
 LeoGuildManager.displayName = "Leo's Guild Manager"
-LeoGuildManager.version = "1.1.7"
+LeoGuildManager.version = "1.1.8"
 LeoGuildManager.chatPrefix = "|c39B027" .. LeoGuildManager.name .. "|r: "

 LeoGuildManager.TAB_PURGE = "Purge"
diff --git a/LeoGuildManagerUI.lua b/LeoGuildManagerUI.lua
index e896422..e90004f 100644
--- a/LeoGuildManagerUI.lua
+++ b/LeoGuildManagerUI.lua
@@ -379,7 +379,7 @@ function LeoGuildManagerMemberList:ColorRow(control, data, mouseIsOver)
     local canScan = LeoGuildManager.CanScanBankHistory(guildId)
     local integrationLoaded = LeoGuildManager.HasIntegrationAddonsLoaded()
     local ATTLoaded = LeoGuildManager.HasIntegrationAddonsLoaded(2)
-    local purchases = LeoGuildManager.GetPurgePurchases(guildName)
+    local purchases = LeoGuildManager.GetPurgePurchases(LeoGuildManager.globalData.selectedGuild)

     local ticketsThreshold = guildData.tickets * 1000
     local salesThreshold = guildData.sales * 1000
@@ -436,7 +436,7 @@ function LeoGuildManagerMemberList:FilterScrollList()
     ZO_ClearNumericallyIndexedTable(scrollData)

     local guildData = LeoGuildManager.globalData.settings.guilds[LeoGuildManager.globalData.selectedGuild]
-    local purchases = LeoGuildManager.GetPurgePurchases(guildName)
+    local purchases = LeoGuildManager.GetPurgePurchases(LeoGuildManager.globalData.selectedGuild)

     local ticketsThreshold = guildData.tickets * 1000
     local salesThreshold = guildData.sales * 1000