Bug 31391: Recalled authorised value for hold cancellation
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
d9d4c6c4fd
commit
0ebf8a632e
|
|
@ -0,0 +1,17 @@
|
|||
use Modern::Perl;
|
||||
use Koha::Installer::Output qw(say_warning say_success say_info);
|
||||
|
||||
return {
|
||||
bug_number => "31391",
|
||||
description => "Staff-side recalls",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(
|
||||
q{INSERT IGNORE INTO authorised_values (category, authorised_value, lib) VALUES ('HOLD_CANCELLATION','RECALLED','Hold was converted to a recall')}
|
||||
);
|
||||
|
||||
say_success( $out, "Add new RECALLED value to HOLD_CANCELLATION authorised value category" );
|
||||
},
|
||||
};
|
||||
|
|
@ -321,6 +321,10 @@ tables:
|
|||
authorised_value: "DAMAGED"
|
||||
lib: "Item was found to be too damaged to fill hold"
|
||||
|
||||
- category: "HOLD_CANCELLATION"
|
||||
authorised_value: "RECALLED"
|
||||
lib: "Hold was converted to a recall"
|
||||
|
||||
# article request cancellations
|
||||
- category: "AR_CANCELLATION"
|
||||
authorised_value: "NOT_FOUND"
|
||||
|
|
|
|||
Loading…
Reference in New Issue