View | Details | Raw Unified | Return to bug 13355
Collapse All | Expand All

(-)a/admin/preferences.pl (-2 / +2 lines)
Lines 262-268 sub SearchPrefs { Link Here
262
        if ( $matched_groups ) {
262
        if ( $matched_groups ) {
263
            my ( $title, $LINES ) = TransformPrefsToHTML( { $title => $matched_groups }, $searchfield );
263
            my ( $title, $LINES ) = TransformPrefsToHTML( { $title => $matched_groups }, $searchfield );
264
264
265
            push @tabs, { tab => $tab, tab_title => $title, LINES => $LINES, };
265
            push @tabs, { tab => $tab, tab_title => $title, LINES => $LINES, tab_id => $tab_name };
266
        }
266
        }
267
    }
267
    }
268
268
Lines 346-352 if ( $op eq 'search' ) { Link Here
346
if ( $tab ) {
346
if ( $tab ) {
347
    my ( $tab_title, $LINES ) = TransformPrefsToHTML( GetTab( $input, $tab ), $highlighted );
347
    my ( $tab_title, $LINES ) = TransformPrefsToHTML( GetTab( $input, $tab ), $highlighted );
348
348
349
    push @TABS, { tab_title => $tab_title, LINES => $LINES };
349
    push @TABS, { tab_title => $tab_title, LINES => $LINES, tab_id => $tab };
350
    $template->param(
350
    $template->param(
351
        $tab => 1,
351
        $tab => 1,
352
        tab => $tab,
352
        tab => $tab,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-2 / +1 lines)
Lines 76-82 Link Here
76
    <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
76
    <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
77
        [% UNLESS ( searchfield ) %]<div id="toolbar"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button></div>[% END %]
77
        [% UNLESS ( searchfield ) %]<div id="toolbar"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button></div>[% END %]
78
        <input type="hidden" name="op" value="save" />
78
        <input type="hidden" name="op" value="save" />
79
        <input type="hidden" name="tab" value="[% TAB.tab %]" />
79
        <input type="hidden" name="tab" value="[% TAB.tab_id %]" />
80
80
81
            [% FOREACH LINE IN TAB.LINES %]
81
            [% FOREACH LINE IN TAB.LINES %]
82
            [% IF ( LINE.is_group_title ) %]
82
            [% IF ( LINE.is_group_title ) %]
83
- 

Return to bug 13355