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 (+14 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(
11
            q{ INSERT IGNORE INTO authorised_values (category, authorised_value, lib) VALUES ('HOLD_CANCELLATION','RECALLED','Hold was converted to a recall') }
12
        );
13
    },
14
};
(-)a/installer/data/mysql/en/optional/auth_val.yml (-2 / +5 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"
Lines 332-335 tables: Link Here
332
336
333
        - category: "AR_CANCELLATION"
337
        - category: "AR_CANCELLATION"
334
          authorised_value: "OPAC"
338
          authorised_value: "OPAC"
335
          lib: "Cancelled from the OPAC user page"
339
          lib: "Cancelled from the OPAC user page"
336
- 

Return to bug 31391