Comment # 3
on bug 64177
from Patrick Ohly
(In reply to comment #2)
> This new extended searching criteria are ok.
> Just one note regarded:
> - "is not possible to define searches where
> the *same* value must meet different criteria"
> This meas that a query like this is not allowed?
>
> [ 'or',
> [ 'and',
> [ 'begins_with', 'structured-name/given' , 'a' ],
> [ 'begins_with', 'structured-name/family', 'b' ]
> ],
> [ 'and',
> [ 'begins_with', 'structured-name/given' , 'b' ],
> [ 'begins_with', 'structured-name/family', 'a' ]
> ]
> ]
>
That query itself is fine and will be supported. It works as intended because
there is only one structured-name.
The comment is about value lists, like telephone numbers. For example, suppose
you have two telephone numbers:
TEL:1234
TEL:5678
Now you search
['and',
['contains', 'phones/value', '1'],
> If not, can it be accepted in the future?
> Thanks.