Open
Description
Describe the Bug
When using the search in BookStack, the normal (unquoted) search only returns exact matches, while quoted search returns substring matches.
For example, searching for wallet (without quotes) returns only one exact match, but searching for "wallet" (with quotes) returns multiple results including substrings like "kwalletd". This seems reversed compared to usual search behavior and user expectations?
Steps to Reproduce
- Enter a search term (e.g., wallet) without quotes in the BookStack search field.
- Now search for the same term with quotes ("wallet").
- Note that this search now returns additional results that contain the search term as a substring (e.g., “kwalletd”, “wallets” etc).
Expected Behaviour
Opposite.
Searching with quotes should only return exact matches.
Unquoted searches should find all entries containing the search term as a substring
Screenshots or Additional Context
No response
Browser Details
Firefox 139 on Windows 11
Exact BookStack Version
v25.02.2 (Docker)