mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-05 12:28:02 +00:00
Fixed problem with is
filter operator
This commit is contained in:
@@ -106,7 +106,7 @@ exports.operators = {
|
||||
filter: function(operator) {
|
||||
var op = operator.prefix === "!" ? "" : "!";
|
||||
if(operator.operand === "shadow") {
|
||||
return "for(var r=subResults.length-1; r>=0; r--) {if(" + op + "this.getTiddler(subResults[r]).isShadow) {subResults.splice(r,1);}}"
|
||||
return "for(var r=subResults.length-1; r>=0; r--) {if(" + op + "this.getTiddler(subResults[r]).isShadow) {subResults.splice(r,1);}}";
|
||||
} else {
|
||||
throw "Unknown operand for 'is' filter operator";
|
||||
}
|
||||
|
Reference in New Issue
Block a user