mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Fix problem with search term being filtered from search results
Some leftover code meant that tiddlers titled with the precise search term were excluded from the results.
This commit is contained in:
parent
2179d3fa70
commit
799647e38b
@ -19,8 +19,7 @@ exports.search = function(source,operator,options) {
|
||||
var invert = operator.prefix === "!";
|
||||
return options.wiki.search(operator.operand,{
|
||||
titles: source,
|
||||
invert: invert,
|
||||
exclude: [operator.operand]
|
||||
invert: invert
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user