1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-22 23:16:53 +00:00

Make sure that searching for the empty string returns all available tiddlers

Makes sense because every tiddler contains the empty string. This
restores the functionality of the tag editor dropdown.
This commit is contained in:
Jermolene 2013-11-11 15:26:41 +00:00
parent c501e70512
commit 51fe1e20e8

View File

@ -878,7 +878,7 @@ exports.search = function(text,options) {
// Function to check a given tiddler for the search term
var searchTiddler = function(title) {
if(!searchTermsRegExps) {
return false;
return true;
}
var tiddler = self.getTiddler(title);
if(!tiddler) {