mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Desktop: Resolves #9343: Search for partial matches by default, unless the query is surrounded by quotes
This commit is contained in:
parent
27f888d0c4
commit
8a533b2003
@ -237,7 +237,7 @@ export default class BaseApplication {
|
||||
notes = await Tag.notes(parentId, options);
|
||||
} else if (parentType === BaseModel.TYPE_SEARCH) {
|
||||
const search = BaseModel.byId(state.searches, parentId);
|
||||
notes = await SearchEngineUtils.notesForQuery(search.query_pattern, true);
|
||||
notes = await SearchEngineUtils.notesForQuery(search.query_pattern, true, { appendWildCards: true });
|
||||
const parsedQuery = await SearchEngine.instance().parseQuery(search.query_pattern);
|
||||
highlightedWords = SearchEngine.instance().allParsedQueryTerms(parsedQuery);
|
||||
} else if (parentType === BaseModel.TYPE_SMART_FILTER) {
|
||||
|
Loading…
Reference in New Issue
Block a user