Fix redirect after rescanFailedIntegrityCheck to "Overview" page

The link of the rescanFailedIntegrityCheck link is on the sub page "Overview". After clicking the link, the user is, however, redirected to the "Basic settings" page.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
Sven Strickroth 2019-07-05 08:56:17 +02:00 committed by Backportbot
parent 047fda6a81
commit cabccd160b

View file

@ -334,7 +334,7 @@ class CheckSetupController extends Controller {
public function rescanFailedIntegrityCheck() {
$this->checker->runInstanceVerification();
return new RedirectResponse(
$this->urlGenerator->linkToRoute('settings.AdminSettings.index')
$this->urlGenerator->linkToRoute('settings.AdminSettings.index', ['section' => 'overview'])
);
}