Redirect to details pages after performing actions

After performing a package base action on a separate page, return to the
corresponding package base details page.

Partly fixes FS#46545.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-10-03 11:28:04 +02:00
parent d0f8b285e4
commit 90e96e3728
4 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?>
<?= __('Enter the package name you wish to merge the package into. '); ?>
<?= __('Select the checkbox to confirm action.') ?>
</p>
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
<form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
<fieldset>
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
<input type="hidden" name="ID" value="<?= $base_id ?>" />