Koha/installer/data/mysql/db_revs/211200021.pl
Fridolin Somers 33aa6953f1 Bug 30063: DBRev 21.12.00.021
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-04 16:35:53 +02:00

14 lines
453 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30063",
description => "Fix DefaultPatronSearchFields order",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
UPDATE systempreferences SET value="firstname,surname,othernames,cardnumber,userid"
WHERE variable="DefaultPatronSearchFields" AND value="surname,firstname,othernames,cardnumber,userid"
});
},
};