Koha/installer/data/mysql/db_revs/220600031.pl
Tomas Cohen Arazi e92827b9bd
Bug 30879: DBRev 22.06.00.031
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-02 09:41:54 -03:00

15 lines
469 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30327",
description => "Add biblionumber to ComponentSortField",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
UPDATE systempreferences set options="call_number|pubdate|acqdate|title|author|biblionumber"
WHERE variable = 'ComponentSortField'
});
say $out "Added biblionumber option to ComponentSortField";
},
};