From 51fe1e20e84a6bad510a04ebd695034546adc54a Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 11 Nov 2013 15:26:41 +0000 Subject: [PATCH] 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. --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index d510fcada..72067bd63 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -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) {