Add redirect URL parameter to contact batch

- This allows redirection to the correct contact tab after a batch action
This commit is contained in:
Hypolite Petovan 2021-09-05 14:49:52 -04:00
commit 5262843e63
3 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,7 @@
{{$tabs nofilter}}
<form action="{{$baseurl}}/contact/batch/" method="POST">
<input type="hidden" name="redirect_url" value="{{$cmd}}"/>
{{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}}
{{/foreach}}