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

(-)a/installer/data/mysql/atomicupdate/Bug_29138.pl (+17 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "29138",
5
    description => "Use a zero instead of a no in LoadSearchHistoryToTheFirstLoggedUser",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        # Do you stuffs here
10
        $dbh->do(q{
11
                UPDATE systempreferences SET value= IF(value='no',0,1)
12
                WHERE variable = 'LoadSearchHistoryToTheFirstLoggedUser';
13
                });
14
        # Print useful stuff here
15
        say $out "LoadSearchHistoryToTheFirstLoggedUser updated";
16
    },
17
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-2 / +1 lines)
Lines 93-99 Searching: Link Here
93
              default: 0
93
              default: 0
94
              choices:
94
              choices:
95
                   1: "Add"
95
                   1: "Add"
96
                   no : "Don't add"
96
                   0: "Don't add"
97
            - search history of the unlogged user to the next patron logging in.
97
            - search history of the unlogged user to the next patron logging in.
98
        -
98
        -
99
            - Show tabs in the OPAC and staff interface advanced search for limiting searches on the
99
            - Show tabs in the OPAC and staff interface advanced search for limiting searches on the
100
- 

Return to bug 29138