fix: category order

This commit is contained in:
Salikh Gurgenidze
2025-12-23 22:29:03 +04:00
parent d6cbfb704d
commit a11795ff44
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -57,15 +57,15 @@ local CATEGORY_ORDER = {
["Weapon"] = 4, -- Non-equippable weapons
["Armor"] = 5, -- Non-equippable armor
["Tools"] = 6,
["Class Items"] = 7,
["Quiver"] = 8,
["Reagent"] = 9,
["Trade Goods"] = 10,
["Recipe"] = 11,
["Container"] = 12,
["Quest"] = 13,
["Key"] = 14,
["Miscellaneous"] = 15,
["Quest"] = 16,
["Class Items"] = 17,
}
-- Subclass ordering for grouping related items
+1 -1
View File
@@ -403,7 +403,7 @@ function BagFrame:DisplayItemsByCategory(bagData, isOtherChar, charName)
-- Group items by category
local categories = {}
local categoryList = {
"Weapon", "Armor", "Consumable", "Food", "Drink", "Class Items", "Quest", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Keyring", "Miscellaneous"
"Weapon", "Armor", "Consumable", "Food", "Drink", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Keyring", "Miscellaneous", "Quest", "Class Items"
}
for _, cat in ipairs(categoryList) do categories[cat] = {} end
+1 -1
View File
@@ -255,7 +255,7 @@ function BankFrame:DisplayItemsByCategory(bankData, isOtherChar, charName)
-- Group items by category
local categories = {}
local categoryList = {
"Weapon", "Armor", "Consumable", "Food", "Drink", "Class Items", "Quest", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Miscellaneous"
"Weapon", "Armor", "Consumable", "Food", "Drink", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Miscellaneous", "Quest", "Class Items"
}
for _, cat in ipairs(categoryList) do categories[cat] = {} end