1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Don't use field indexer when looking for blank/missing fields

Fixes #4247
This commit is contained in:
Jeremy Ruston 2019-09-09 14:47:27 +01:00
parent 85da202cca
commit 953038f0b2

View File

@ -53,7 +53,7 @@ exports.field = function(source,operator,options) {
}
});
} else {
if(source.byField) {
if(source.byField && operator.operand) {
indexedResults = source.byField(fieldname,operator.operand);
if(indexedResults) {
return indexedResults