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.
print-window-tiddler
Jermolene 2013-11-11 15:26:41 +00:00
rodzic c501e70512
commit 51fe1e20e8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {