BetterBags - Gear First

BetterBags - Gear First

7.6k Downloads

Bags not working when sort is set to Gear > Alphabetically

mLgz0rn opened this issue ยท 0 comments

commented

Hello.

I started getting this lua error in the raid just after I got a BoE dropped, I have no idea if that is related.
It has made the bag not working it just shows up like this
image

When changing the sort order to Alphabetically only it works fine

Here is the error

9x BetterBags_GearFirst/main.lua:125: attempt to index local 'b' (a nil value)
[string "@BetterBags_GearFirst/main.lua"]:125: in function <BetterBags_GearFirst/main.lua:120>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `sort'
[string "@BetterBags/frames/grid.lua"]:242: in function `Sort'
[string "@BetterBags/views/gridview.lua"]:371: in function `Render'
[string "@BetterBags/frames/bag.lua"]:316: in function `Draw'
[string "@BetterBags/core/init.lua"]:290: in function `cb'
[string "@BetterBags/core/events.lua"]:49: in function <BetterBags/core/events.lua:47>
[string "=[C]"]: ?
[string "@LibSharedMedia-3.0-8020003/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...edia-3.0/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@LibSharedMedia-3.0-8020003/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:206: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:224: in function <BetterBags/core/events.lua:223>

Locals:
kind = 0
a = <table> {
 view = 2
 headerDisabled = false
 title = Button {
 }
 fillWidth = false
 maxItemsPerRow = 7
 content = <table> {
 }
 frame = Frame {
 }
}
b = nil
shouldSort = false
sortResult = false
(*temporary) = "Gear: Outlaw M+"
(*temporary) = "Recent Items"
(*temporary) = <table> {
 data = <table> {
 }
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 baseName = "BetterBags"
 enabledState = true
 locale = "enUS"
 moduleName = "Localization"
 defaultModuleState = true
 name = "BetterBags_Localization"
 orderedModules = <table> {
 }
}
(*temporary) = "Recent Items"
(*temporary) = "Recent Items"
(*temporary) = "enUS"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'b' (a nil value)"
sort = <table> {
 defaultModuleLibraries = <table> {
 }
 name = "BetterBags_Sort"
 orderedModules = <table> {
 }
 enabledState = false
 baseName = "BetterBags"
 modules = <table> {
 }
 moduleName = "Sort"
 defaultModuleState = true
}
L = <table> {
 data = <table> {
 }
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 baseName = "BetterBags"
 enabledState = true
 locale = "enUS"
 moduleName = "Localization"
 defaultModuleState = true
 name = "BetterBags_Localization"
 orderedModules = <table> {
 }
}
const = <table> {
 BANK_ONLY_BAGS = <table> {
 }
 BAG_KIND = <table> {
 }
 modules = <table> {
 }
 BANK_TAB = <table> {
 }
 BANK_BAGS = <table> {
 }
 GEAR_SECTION_ORDER = <table> {
 }
 BINDING_SCOPE = <table> {
 }
 BANK_ONLY_BAGS_LIST = <table> {
 }
 baseName = "BetterBags"
 BAG_SUBTYPES = <table> {
 }
 DATABASE_DEFAULTS = <table> {
 }
 SECTION_SORT_TYPE = <table> {
 }
 FORM_LAYOUT = <table> {
 }
 INVENTORY_TYPE_TO_INVENTORY_SLOTS = <table> {
 }
 EQUIPMENT_SLOTS = <table> {
 }
 TRADESKILL_MAP = <table> {
 }
 name = "BetterBags_Constants"
 BRIEF_EXPANSION_MAP = <table> {
 }
 orderedModules = <table> {
 }
 EXPANSION_MAP = <table> {
 }
 defaultModuleState = true
 OFFSETS = <table> {
 }
 ITEM_QUALITY_COLOR = <table> {
 }
 BINDING_MAP = <table> {
 }
 ITEM_QUALITY_HIGHLIGHT = <table> {
 }
 BAG_SUBTYPE_TO_QUALITY = <table> {
 }
 ITEM_QUALITY_TO_ENUM = <table> {
 }
 EXPANSION_TYPE = <table> {
 }
 ITEM_SORT_TYPE = <table> {
 }
 BACKPACK_BAGS = <table> {
 }
 BAG_VIEW = <table> {
 }
 WINDOW_KIND = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 ITEM_QUALITY_COLOR_LOW = <table> {
 }
 BACKPACK_ONLY_BAGS_LIST = <table> {
 }
 enabledState = false
 BACKPACK_ONLY_REAGENT_BAGS = <table> {
 }
 ACCOUNT_BANK_BAGS = <table> {
 }
 GRID_COMPACT_STYLE = <table> {
 }
 MOVEMENT_FLOW = <table> {
 }
 REAGENTBANK_BAGS = <table> {
 }
 ITEM_BAG_FAMILY = <table> {
 }
 ITEM_QUALITY_COLOR_HIGH = <table> {
 }
 moduleName = "Constants"
 BACKPACK_ONLY_BAGS = <table> {
 }
}