Repository navigation
Conversation
2 tasks done
The button was shown for any empty search, including searches that Show All could not satisfy because of Corpse Only, a monster type filter or a name that matches nothing. Check the search against the list Show All would produce, and pick the test Spectres from the data instead of relying on a fixed name.
zubSero
force-pushed
the
fix/10576-spectre-empty-search
branch
from
November 27, 2026 11:16
d9106d3 to
8a02f02
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10576.
Description of the problem being solved:
The Spectre Library only searches the recommended spectres unless Show All is ticked. Searching for something like Forged Frostbearer gives an empty list with no hint why.
When a search comes back empty and Show All would find something, the list now says "No recommended matches" and has an "Enable Show All" button. The button keeps the search text and the other filters as they are. It doesn't appear when Show All wouldn't help either, for example with Corpse Only on, with that monster type unticked, or for a name that doesn't exist.
Steps taken to verify a working solution:
Before screenshot:
After screenshot: