@@ -, +, @@ - Choose a tab on the sysprefs section (for example 'Enhanced Content') - Right click on 'Enhanced Content preferences' title, and choose to 'inspect' the code - Do a syspref search (for example 'facet'). - Right click on one of the category titles (for example 'OPAC preferences') - Apply the patch - Repeat (1) and (2) - Sign off :-D --- admin/preferences.pl | 4 ++-- .../prog/en/modules/admin/preferences.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/admin/preferences.pl +++ a/admin/preferences.pl @@ -262,7 +262,7 @@ sub SearchPrefs { if ( $matched_groups ) { my ( $title, $LINES ) = TransformPrefsToHTML( { $title => $matched_groups }, $searchfield ); - push @tabs, { tab => $tab, tab_title => $title, LINES => $LINES, }; + push @tabs, { tab => $tab, tab_title => $title, LINES => $LINES, tab_id => $tab_name }; } } @@ -346,7 +346,7 @@ if ( $op eq 'search' ) { if ( $tab ) { my ( $tab_title, $LINES ) = TransformPrefsToHTML( GetTab( $input, $tab ), $highlighted ); - push @TABS, { tab_title => $tab_title, LINES => $LINES }; + push @TABS, { tab_title => $tab_title, LINES => $LINES, tab_id => $tab }; $template->param( $tab => 1, tab => $tab, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt @@ -76,7 +76,7 @@
[% UNLESS ( searchfield ) %]
[% END %] - + [% FOREACH LINE IN TAB.LINES %] [% IF ( LINE.is_group_title ) %] --