From 72798aaed271ba0604d525a100051ebdb3f5a2e5 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 11 Apr 2020 13:40:39 +0000 Subject: [PATCH] Bug 24120: 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 https://bugs.koha-community.org/show_bug.cgi?id=25120 --- 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.11.0