Bug 34668: DBRev 23.12.00.009
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1c2ab5cbd2
commit
cfcae28c15
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #4 : the developer version. The 4th number is the database subversion.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "23.12.00.008";
|
||||
$VERSION = "23.12.00.009";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "34668",
|
||||
description => "Add syspref WaitingNotifyAtCheckout",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do(q{INSERT IGNORE INTO `systempreferences` (variable,value,options,explanation,type) VALUES('WaitingNotifyAtCheckout','0',NULL,'If ON, notify librarians of waiting holds for the patron whose items they are checking out.','YesNo') });
|
||||
|
||||
say $out "Added new system preference 'WaitingNotifyAtCheckout'";
|
||||
|
||||
},
|
||||
};
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "34668",
|
||||
description => "Notify staff with a pop-up about waiting holds when checking out",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do(
|
||||
q{INSERT IGNORE INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('WaitingNotifyAtCheckout','0',NULL,'If ON, notify librarians of waiting holds for the patron whose items they are checking out.','YesNo') }
|
||||
);
|
||||
|
||||
say $out "Added new system preference 'WaitingNotifyAtCheckout'";
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue