Skip to content

Commit

Permalink
Retail: Fixed an issue where getting search results via SearchLink wo…
Browse files Browse the repository at this point in the history
…uld not properly combine multiple matching results

Retail: Fixed an issue where modified item data (modID/bonusID) would merge into a base Item group which shouldn't have those values (fixes #1793)
  • Loading branch information
ImUnicke committed Sep 21, 2024
1 parent c15a7c0 commit 0c0cb3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ app.MergeSkipFields = {
isYearly = 1,
OnUpdate = 1,
requireSkill = 1,
modID = 1,
bonusID = 1,
};
-- Fields on a Thing which are specific to where the Thing is Sourced or displayed in a ATT window
app.SourceSpecificFields = {
Expand Down Expand Up @@ -2411,6 +2413,7 @@ local function GetSearchResults(method, paramA, paramB, ...)
if group then
if a then paramA = a; end
if b then paramB = b; end
if paramA == "modItemID" then paramA = "itemID" end
-- Move all post processing here?
if #group > 0 then
-- For Creatures and Encounters that are inside of an instance, we only want the data relevant for the instance + difficulty.
Expand Down

0 comments on commit 0c0cb3c

Please sign in to comment.