Hello.
I have a problem with searching by repeater subfields.
For example, there are loans. Each of them has several rates depend on currency. I've implemented it by repeater.
currency | period | percent
------------------------------
USD 12m 5%
EUR 6m 6%
etc.
When I search by subfield:
$pages->find('template=loan, rates.currency=USD, rates.period=6');
I get loans that have at least one rate with currency USD and at least one period = 6
However, I want to retrieve only such loans that have currency = USD AND period = 6
I found this documentation.
However
$pages->find('template=loan, @rates.currency=USD, @rates.period=6');
doesn't work.