You have the right idea, but just need a couple more pieces of info.
If you define an action [show_all] in your actions.ini file it overwrites the previous action named [show_all] that was defined in the dataface actions.ini file. What you want to do is extend and override the action.
You do that with the following:
[show_all > show_all]
That way it keeps all of the definitions from the dataface actions.ini file and allows you to add your own parameters.
e.g.
- Code: Select all
[show_all > show_all]
url = "{$this->url('-action=related_records_list&assistitoID=$_SESSION[\"idanagrafica\"]&-relationship=Autopsia')}"
You may have to tinker with the url you specified too to make it work that way you want.
-Steve