$function_link_to_record new option

Caloo

Member
$function_link_to_record can only be set to 'details' or 'edit'. The problem is that at times we need to edit the called record, at other times only consult it.
I propose to have a third option :
- When we are in edition mode, the link_to_record leads to an edition page.
- When we are in a details page or results grid, it leads to a details page.

This could be the default option (parameter left blank)
 
Upvote 0

Caloo

Member
I have noticed some month ago, that we can add a "edit" button in the details page, what I did.
So it's easy now to pass to edition mode from the details page. Accordingly, my proposal above is no longer relevant.

Regards
Pascal
 
Top