1
0
Fork 0

[DEV-2871] DocumentProgramFormatter: changed field match from any to all

master
Mark Goldsmith 2018-06-15 09:02:16 -04:00
parent 7935c699de
commit bb9bb68a0f
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ module.exports = Class( 'DocumentProgramFormatter',
}
const indexes = matches[ field_id ].indexes;
const any_match = matches[ field_id ].any;
const all_match = matches[ field_id ].all;
if ( indexes.length > 0 )
{
@ -212,7 +212,7 @@ module.exports = Class( 'DocumentProgramFormatter',
}
else
{
return field_value.map( _ => any_match );
return field_value.map( _ => all_match );
}
},
} );