Line 0
Link Here
|
0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
|
3 |
return { |
4 |
bug_number => "34661", |
5 |
description => "Update default UNIMARC framework for testing purposes", |
6 |
up => sub { |
7 |
my ($args) = @_; |
8 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
9 |
|
10 |
# Do you stuffs here |
11 |
$dbh->do( |
12 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_127.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '127' AND tagsubfield = 'a' } |
13 |
); |
14 |
$dbh->do( |
15 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_128b.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '128' AND tagsubfield = 'b' } |
16 |
); |
17 |
$dbh->do( |
18 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_128c.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '128' AND tagsubfield = 'c' } |
19 |
); |
20 |
$dbh->do( |
21 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146b.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'b' } |
22 |
); |
23 |
$dbh->do( |
24 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146c.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'c' } |
25 |
); |
26 |
$dbh->do( |
27 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146d.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'd' } |
28 |
); |
29 |
$dbh->do( |
30 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146e.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'e' } |
31 |
); |
32 |
$dbh->do( |
33 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146f.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'f' } |
34 |
); |
35 |
$dbh->do( |
36 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146h.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'h' } |
37 |
); |
38 |
$dbh->do( |
39 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_146i.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '146' AND tagsubfield = 'i' } |
40 |
); |
41 |
$dbh->do( |
42 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_181-2.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '181' AND tagsubfield = '2' } |
43 |
); |
44 |
$dbh->do( |
45 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_181a.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '181' AND tagsubfield = 'a' } |
46 |
); |
47 |
$dbh->do( |
48 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_181b.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '181' AND tagsubfield = 'b' } |
49 |
); |
50 |
$dbh->do( |
51 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_182-2.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '182' AND tagsubfield = 'a' } |
52 |
); |
53 |
$dbh->do( |
54 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_182a.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '182' AND tagsubfield = 'a' } |
55 |
); |
56 |
$dbh->do( |
57 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_182c.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '182' AND tagsubfield = 'c' } |
58 |
); |
59 |
$dbh->do( |
60 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_183-2.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '183' AND tagsubfield = '2' } |
61 |
); |
62 |
$dbh->do( |
63 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_183a.pl', hidden = 0, tab = '1' WHERE frameworkcode = '' AND tagfield = '183' AND tagsubfield = 'a' } |
64 |
); |
65 |
$dbh->do( |
66 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_225a.pl', hidden = 0, tab = '2' WHERE frameworkcode = '' AND tagfield = '225' AND tagsubfield = 'a' } |
67 |
); |
68 |
$dbh->do( |
69 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_283-2.pl', hidden = 0, tab = '2' WHERE frameworkcode = '' AND tagfield = '283' AND tagsubfield = '2' } |
70 |
); |
71 |
$dbh->do( |
72 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_283a.pl', hidden = 0, tab = '2' WHERE frameworkcode = '' AND tagfield = '283' AND tagsubfield = 'a' } |
73 |
); |
74 |
$dbh->do( |
75 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_325h.pl', hidden = 0, tab = '3' WHERE frameworkcode = '' AND tagfield = '325' AND tagsubfield = 'h' } |
76 |
); |
77 |
$dbh->do( |
78 |
q{ UPDATE marc_subfield_structure SET value_builder = 'unimarc_field_325j.pl', hidden = 0, tab = '3' WHERE frameworkcode = '' AND tagfield = '325' AND tagsubfield = 'j' } |
79 |
); |
80 |
}, |
81 |
} |