Browse Source
"I don't like this patch at all!" "We will see a cataloger revolt if we do not find a way to make this optional for catalogers." I imagined a hord of catalogers running behind me and I got scared. This patch will allow to turn the new feature added by bug 25728 off. Test plan: Confirm that the new CreateAVFromCataloguing will permit to turn the feature off. Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>21.05.x
7 changed files with 40 additions and 4 deletions
@ -0,0 +1,15 @@ |
|||
use Modern::Perl; |
|||
|
|||
return { |
|||
bug_number => "29137", |
|||
description => "Add system preference CreateAVFromCataloguing", |
|||
up => sub { |
|||
my ($args) = @_; |
|||
my ($dbh, $out) = @$args{qw(dbh out)}; |
|||
|
|||
$dbh->do( q{ |
|||
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) |
|||
VALUES ('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo') |
|||
}); |
|||
}, |
|||
} |
Loading…
Reference in new issue