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

Fixes #4247
fix-syncer
Jeremy Ruston 2019-09-09 14:47:27 +01:00
rodzic 85da202cca
commit 953038f0b2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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