Item link always references the same record

22 views
Skip to first unread message

Michele Tarantino

unread,
Dec 18, 2020, 4:57:22 AM12/18/20
to Joomla Component Builder
Hello everyone I have a frontend view of records and by clicking on a certain field I need the detail view of that record, but it always refers me to the first element of the list, any record I click always displays the first. This is the url code of the element in a foreach loop:

<td><a href="<?php echo  [[[Component]]]HelperRoute::getAttoRoute($item->slug); ?>" ><?php echo $item->nome_atto; ?></a></td>

Michele Tarantino

unread,
Dec 19, 2020, 7:35:26 AM12/19/20
to Joomla Component Builder, Michele Tarantino
Well I solved, basically I hadn't set a filter in the main get of the detail view

((ewe))yn

unread,
Dec 19, 2020, 4:29:57 PM12/19/20
to Joomla Component Builder, mtaran...@gmail.com
We are moving to GitHub Discussions. We will keep this open to give access to old issues, resolved. But please continue conversations on the new github discussions area ;)
Reply all
Reply to author
Forward
0 new messages