From 9e1e81227c6c9c042331eef943b1ce224ea5fe95 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 26 Mar 2010 00:04:23 -0400 Subject: [PATCH] In ExpandEntry(): For location sort, recipes with CUSTOM acquire type will be added as entries instead of subheaders. --- Frame.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 20bdfa4..dd51098 100644 --- a/Frame.lua +++ b/Frame.lua @@ -3291,8 +3291,8 @@ do local expand = false local type = "subheader" - -- Add World Drop entries as normal entries - expanding them would only show "World Drop", which we already know. - if location_id == L["World Drop"] then + -- Add World Drop and Custom entries as normal entries. + if location_id == _G.MISCELLANEOUS or location_id == L["World Drop"] then expand = true type = "entry" end @@ -3306,6 +3306,7 @@ do elseif list_entry.type == "subheader" then local recipe_entry = private.recipe_list[list_entry.recipe_id] + -- World Drops and Custom entries are not handled here because they are of type "entry". for acquire_type, acquire_data in pairs(recipe_entry.acquire_data) do for id_num, info in pairs(acquire_data) do -- Only expand an acquisition entry if it is from this location. -- 1.7.9.5