mirror of
https://github.com/friendica/friendica
synced 2025-04-23 23:10:10 +00:00
Add redirect URL parameter to contact batch
- This allows redirection to the correct contact tab after a batch action
This commit is contained in:
parent
6e358bfacf
commit
5262843e63
3 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,7 @@ class Contact extends BaseModule
|
|||
info(DI::l10n()->tt('%d contact edited.', '%d contacts edited.', $count_actions));
|
||||
}
|
||||
|
||||
DI::baseUrl()->redirect('contact');
|
||||
DI::baseUrl()->redirect($_POST['redirect_url'] ?? 'contact');
|
||||
}
|
||||
|
||||
public static function post(array $parameters = [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue