Koha/installer/data/mysql/db_revs/220600080.pl
Tomas Cohen Arazi cf637f7d58
Bug 30880: DBRev 22.06.00.080
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-08 10:02:22 -03:00

12 lines
487 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30880",
description => "Add branchonly option to OPACResultsUnavailableGroupingBy syspref",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{ UPDATE systempreferences SET options = 'branch|substatus|branchonly', explanation = 'Group OPAC XSLT results by branch and substatus, or substatus only, or branch only' WHERE variable = 'OPACResultsUnavailableGroupingBy' });
},
};