From b0e930aad8d58f9f9be791e7a6dbe996986f8560 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 11 Apr 2020 13:40:39 +0000 Subject: [PATCH] Bug 25120: Make accounting the default tab when opening the pref editor The default/active tab when opening the sys pref editor used to be 'Acquisitions' as the first tab, but should now be the new first 'Accounting' To test: - Go to Administration > System preferences - Verify the Aquisition tab is second and preselected - Apply patch - Repeat - Verify now Accounting is selected Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- admin/preferences.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/preferences.pl b/admin/preferences.pl index 9c785bda94..3b1676e0e2 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -309,7 +309,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( my $op = $input->param( 'op' ) || ''; my $tab = $input->param( 'tab' ); -$tab ||= 'acquisitions'; # Ideally this should be "local-use" but preferences.pl +$tab ||= 'accounting'; # Ideally this should be "local-use" but preferences.pl # does not presently support local use preferences my $highlighted; -- 2.39.5