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:
Aleisha Amohia 2026-06-15 23:46:09 +00:00 committed by Pedro Amorim
parent d9d4c6c4fd
commit 0ebf8a632e
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 21 additions and 0 deletions

View File

@ -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" );
},
};

View File

@ -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"