View | Details | Raw Unified | Return to bug 31391
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_31391_-_add_HOLD_CANCELLATION-RECALLED_authorised_value.pl (+12 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "31391",
5
    description => "Add new RECALLED value to HOLD_CANCELLATION authorised value category",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{ INSERT IGNORE INTO authorised_values (category, authorised_value, lib) VALUES ('HOLD_CANCELLATION','RECALLED','Hold was converted to a recall') });
11
    },
12
};
(-)a/installer/data/mysql/en/optional/auth_val.yml (-1 / +4 lines)
Lines 321-326 tables: Link Here
321
          authorised_value: "DAMAGED"
321
          authorised_value: "DAMAGED"
322
          lib: "Item was found to be too damaged to fill hold"
322
          lib: "Item was found to be too damaged to fill hold"
323
323
324
        - category: "HOLD_CANCELLATION"
325
          authorised_value: "RECALLED"
326
          lib: "Hold was converted to a recall"
327
324
        # article request cancellations
328
        # article request cancellations
325
        - category: "AR_CANCELLATION"
329
        - category: "AR_CANCELLATION"
326
          authorised_value: "NOT_FOUND"
330
          authorised_value: "NOT_FOUND"
327
- 

Return to bug 31391