You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a bug on the render_cell function for the related list view.
Let's take an example
function Field2_link__renderCell( &$record ){
if ($record->strval('Field2_link')) return '<a href='.$record->strval('Field2_link').' target="_blank"> Link </a>';
}
If I go to the list view
=> Field2 display is correct
this means "Link" appears and works (since I put noLinkFromListView=1 in the fields.ini)
If I access the same table (the one which includes "Field2"), but as related list view
=> Field2 display is no longer correct
its appears with the "[...]", this means "Link[...]"
when I clic on "Link" => the hyperlink works
when I clic on [...] => it displays the complete hyperlink
To fix the bug
=> fix the handling of the $fulltext variable around this line
there is a bug on the render_cell function for the related list view.
Let's take an example
If I go to the list view
=> Field2 display is correct
this means "Link" appears and works (since I put noLinkFromListView=1 in the fields.ini)
If I access the same table (the one which includes "Field2"), but as related list view
=> Field2 display is no longer correct
its appears with the "[...]", this means "Link[...]"
when I clic on "Link" => the hyperlink works
when I clic on [...] => it displays the complete hyperlink
To fix the bug
=> fix the handling of the $fulltext variable around this line
xataface/Dataface/RelatedList.php
Line 546 in 768eac8
Thanks
The text was updated successfully, but these errors were encountered: