Jump to content

Tim

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Tim

  1. Thank you for a new fresh idea. I used PageTable field and now it works. The only confusing thing is that every time I want to add new record I have to enter name of the subpage. Is there any solution to let PW automatically use new page ID as a name?
  2. 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.
×
×
  • Create New...