Improve search - #13640
Open
HomesGH wants to merge 17 commits into
Open
Improve search#13640HomesGH wants to merge 17 commits into
HomesGH wants to merge 17 commits into
Conversation
Member
|
I would like to see the original search icon preserved and add the options icon to the right hand side where the help icon is. |
droidmonkey
marked this pull request as draft
September 2, 2026 15:36
- is:recycled - has:passkey - has:expiration
Contributor
Author
HomesGH
marked this pull request as ready for review
September 10, 2026 13:18
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.

Type of change
A little bit of everything
Overview
This PR tackles:
(Fixes #4696, Fixes #7967)
The search functionality is improved with this PR. The default search (without stating field specifier, e.g.,
u:) is extended to include almost all fields (title, username, password, url, notes, additional attributes, attachments (filename not content) or tags). TheskipProtectedvariable, which was not really used until now, is renamed toincludeProtectedand connected to a new option ("Include protected fields"). Without this option set, the password and protected additional attributes are excluded from the default search. To clarify that search options are available, the symbol was changed.Important: The default behavior was changed from including protected fields by default to NOT include protected fields when searching. When searching for passwords (
p:XXX), the new option is not considered since statingp:explicity shows the user's wish to search the (protected) password field.The behavior of
*which served both as modifier and wildcard was changed by introducing a new option "Regular expression" so that*is now solely a wildcard. This prevents weird behavior like*test(regex) vstest*(wildcard).New search terms for
has:was introduced:has:passkeyhas:expiration(Fixes Addhas:expirationto search terms #10584)Added a default search for entries with passkey:

The documentation was adjusted accordingly and the already existing feature to search within a specific additional attribute using an underscore (
_) was added to it.Screenshots
Testing strategy
Open questions
Since the default behavior of including protected values changed, searching for--> Fixed by new option to set regex instead of*with the "Include protected fields" option NOT set, leads to an empty list. This is not the case for, e.g.,t:*. The issue is here the parser in combination of the role of*being both a modifier and a wildcard. When just searching for*, it is a modifier. When prepending characters,*is a wildcard. It feels like a bug...*modifier.The behavior of an empty term (e.g.,--> Fixed to be independent oft:) being related to theincludeProtectedvariable seems a bit odd.includeProtectedsettingTestEntrySearcherandTestGuineed to be adapted