Forums

Group field problem

Fredolino 26 Jun, 2019
Hello,
I have a table with data displayed via a view link.
The display of the table works. Unfortunately I did not get the right grouping of the table data.

The URL in the view link:

article_id = {var: articles_list.row.Beobs.beo_id}
The table list is based on Read Data with select type "All matching record" (read_beobs)
and Read Data with "First matching record" (read_beob) as in the example "Articles relations and advanced forms".
The event "View" says:
{fn:read_article}
{fn:check_article_exists}
{fn:read_beob}
{fn:check_beob_exists}
<h3 style="font-weight:300;color:#71a26a">
{date:d.m.Y$(var:read_beob.Fund.datum)}:  {var:read_article.Article.fundort}</h3>
hallo
<div class="ui segment">
{view:zuruck_button}
</div>
{fn:read_beobs}
{view:beob_list}

It should be a grouping after the fields "datum" and "beobachtung".

First matching record (read_beob) shows only the first grouped data. I can not display data without this Read Data function.

Is it possible that I can attach a grouping parameter to the view link? And how could that look?
or do I have to use a where query?

many Greetings
F.
healyhatman 27 Jun, 2019
Not really sure exactly what you're asking here. What do you mean by grouping? And if you want it to group by a field just add that field to the Group By setting, surely?
healyhatman 29 Jun, 2019
Just have another read data with the groupings you want on that page
Fredolino 30 Jun, 2019
Answer
It also works with 2 Data read :-)

In  "Where condition"
Fund.datum = {var:read_beob.Fund.datum}
This topic is locked and no more replies can be posted.