Commit 4562771e authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

Fixed search on Administer Institutions page when javascript is not avilable.


Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent 9bb25d28
......@@ -611,6 +611,10 @@ if ($institution && $institution != 'mahara') {
}
}
function search_submit(Pieform $form, $values) {
redirect('/admin/users/institutions.php' . (!empty($values['query']) ? '?query=' . urlencode($values['query']) : ''));
}
if (isset($institutionform)) {
$smarty->assign('institution_form', $institutionform);
$smarty->assign('instancestring', $instancestring);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment