diff --git a/core/modules/filters/function.js b/core/modules/filters/function.js index 8d257ced7..312f4e93b 100644 --- a/core/modules/filters/function.js +++ b/core/modules/filters/function.js @@ -38,8 +38,12 @@ exports.function = function(source,operator,options) { return list; } } - // Return an empty list if the function wasn't found - return []; + // Return the input list if the function wasn't found + var results = []; + source(function(tiddler,title) { + results.push(title); + }); + return results; }; })();