List of Records - Sub-Entity Results - Bug

Post Reply
pealco
Posts: 9
Joined: 01 Jul 2020, 15:29
Name: Pedro Costa
Location: Portugal

List of Records - Sub-Entity Results - Bug

Post by pealco »

Hello Sergey,

I have the following structure:

26 - BANK
-> 32 - ACCOUNTS
-> -> 38 - MOVEMENTS

If I need in BANK to have a field to show the "List" or "Number of records" from accounts, I add the field "List of Records by MySql query" and give it the following condition:

[id]=parent_item_id

And all works great even changing the "Display as" between "Number of record" and "List"

Now the bug/Issue happens when I want the same situation in 32-ACCOUNTS from 38-MOVEMENTS.
So In 32-ACCOUNTS entity I had a "List of Records by MySql query" field and the condition is:

e.parent_item_id=[id]

And what happens is: In "Display as" if I select the option "List" nothing is shown, if I Select the option "Number of records" it show me "Total(0)" and with the "Display Name as link" selected I click in the total and it show me the correct list.

So is this something that I'm doing wrong?

Many thanks in advance
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: List of Records - Sub-Entity Results - Bug

Post by support »

Wait for 2.9. Should be fixed there.
pealco
Posts: 9
Joined: 01 Jul 2020, 15:29
Name: Pedro Costa
Location: Portugal

Re: List of Records - Sub-Entity Results - Bug

Post by pealco »

OK, Sergey thank you....
Post Reply