Skip to content

Remember Trader link filters - #10565

Open
mcagnion wants to merge 3 commits into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/trader-remember-links
Open

mcagnion wants to merge 3 commits into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/trader-remember-links

Conversation

@mcagnion

Copy link
Copy Markdown
Contributor

Description of the problem being solved

Trader forgets the number of links when reopening the search options. Remember the value for each equipment slot so a six-link Body Armour search leaves the Helmet search unchanged.

Clearing the field or returning it to zero clears the remembered value for that slot.

Steps taken to verify a working solution

  • Reopened the Body Armour search and verified that it retained six links while Helmet stayed empty.
  • Ran a Body Armour search with zero links and verified that the field was empty after reopening.
  • Added regression coverage for the filter passed to the query generator after each change.

Body Armour screenshots

Six links retained after reopening.

Body Armour search showing six links

Zero entered before Execute.

Body Armour search showing zero links before Execute

Blank after executing and reopening.

Body Armour search with a blank links field after reopening

The Query Options popup restores the previous max price, max level and
empty socket count, but "# of Links" came back empty on every search.
Remember it per slot: the links filter is exact, so a 6-link body armour
value carried over to a helmet search would match nothing.
@mcagnion
mcagnion marked this pull request as ready for review November 24, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant