I have a field declared like:
When using a FilterBuilder to filter on the field, what is the expected behaviour of Contains, InSet and Equals?
For example if I select "contains" and select values A, B, C will it show me only the rows that contains all 3 of these values (basically an AND)?
If I select "is one of" (inSet) A, B, C will it sow me the rows that where that field contains any of the values (OR).
If I select "equals" A, B, C will it only show me the rows that have that field set exactly to A, B, C?
That is the behaviour I was expecting but not what I am seeing.
Thanks!
Code:
<field name="myEnum" type="integer" multiple="true"> <valueMap> <value ID="1">A</value> <value ID="2">B</value> <value ID="4">C</value> <value ID="8">D</value> <value ID="16">E</value> <value ID="32">F</value> </valueMap> </field>
For example if I select "contains" and select values A, B, C will it show me only the rows that contains all 3 of these values (basically an AND)?
If I select "is one of" (inSet) A, B, C will it sow me the rows that where that field contains any of the values (OR).
If I select "equals" A, B, C will it only show me the rows that have that field set exactly to A, B, C?
That is the behaviour I was expecting but not what I am seeing.
Thanks!
Comment