Fixed problem with field filter operator not performing string comparisons

print-window-tiddler
Jeremy Ruston 2013-05-27 17:55:45 +01:00
rodzic 31a4b96f57
commit 9193937125
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -21,7 +21,7 @@ exports.field = function(source,operator,options) {
function checkTiddler(title) {
var tiddler = options.wiki.getTiddler(title);
if(tiddler) {
var match = tiddler.fields[operator.operator] === operator.operand;
var match = tiddler.getFieldString(operator.operator) === operator.operand;
if(operator.prefix === "!") {
match = !match;
}