Line 0
Link Here
|
0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
use Koha::Installer::Output qw(say_warning say_failure say_success say_info); |
3 |
|
4 |
return { |
5 |
bug_number => "38096", |
6 |
description => "[DO NOT PUSH] Insert test data for 38096 test plan", |
7 |
up => sub { |
8 |
my ($args) = @_; |
9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
10 |
|
11 |
# Do you stuffs here |
12 |
$dbh->do(q{UPDATE biblio_metadata set metadata ='<?xml version="1.0" encoding="UTF-8"?> |
13 |
<record |
14 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
15 |
xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd" |
16 |
xmlns="http://www.loc.gov/MARC21/slim"> |
17 |
|
18 |
<leader>03741njm a22006491a 4500</leader> |
19 |
<controlfield tag="001">12322942</controlfield> |
20 |
<controlfield tag="003">OSt</controlfield> |
21 |
<controlfield tag="005">20241007123044.0</controlfield> |
22 |
<controlfield tag="007">sd fungnn---eu</controlfield> |
23 |
<controlfield tag="008">981026s1998 mnumun fi mul d</controlfield> |
24 |
<datafield tag="010" ind1=" " ind2=" "> |
25 |
<subfield code="a"> 00716040 </subfield> |
26 |
</datafield> |
27 |
<datafield tag="024" ind1="1" ind2=" "> |
28 |
<subfield code="a">021561601628</subfield> |
29 |
</datafield> |
30 |
<datafield tag="028" ind1="0" ind2="2"> |
31 |
<subfield code="a">NSD6016</subfield> |
32 |
<subfield code="b">NorthSide</subfield> |
33 |
</datafield> |
34 |
<datafield tag="035" ind1=" " ind2=" "> |
35 |
<subfield code="a">(OCoLC)ocm40166468</subfield> |
36 |
</datafield> |
37 |
<datafield tag="040" ind1=" " ind2=" "> |
38 |
<subfield code="a">SVP</subfield> |
39 |
<subfield code="c">SVP</subfield> |
40 |
<subfield code="d">DLC</subfield> |
41 |
</datafield> |
42 |
<datafield tag="041" ind1="0" ind2=" "> |
43 |
<subfield code="d">mul</subfield> |
44 |
<subfield code="g">eng</subfield> |
45 |
</datafield> |
46 |
<datafield tag="042" ind1=" " ind2=" "> |
47 |
<subfield code="a">lcderive</subfield> |
48 |
</datafield> |
49 |
<datafield tag="043" ind1=" " ind2=" "> |
50 |
<subfield code="a">ev-----</subfield> |
51 |
</datafield> |
52 |
<datafield tag="050" ind1="0" ind2="0"> |
53 |
<subfield code="a">NorthSide NSD6016</subfield> |
54 |
</datafield> |
55 |
<datafield tag="245" ind1="0" ind2="0"> |
56 |
<subfield code="a">Nordic roots</subfield> |
57 |
<subfield code="h">[sound recording] :</subfield> |
58 |
<subfield code="b">a NorthSide collection.</subfield> |
59 |
</datafield> |
60 |
<datafield tag="260" ind1=" " ind2=" "> |
61 |
<subfield code="a">Minneapolis :</subfield> |
62 |
<subfield code="b">NorthSide,</subfield> |
63 |
<subfield code="c">[1998]</subfield> |
64 |
</datafield> |
65 |
<datafield tag="300" ind1=" " ind2=" "> |
66 |
<subfield code="a">1 sound disc :</subfield> |
67 |
<subfield code="b">digital ;</subfield> |
68 |
<subfield code="c">4 3/4 in.</subfield> |
69 |
</datafield> |
70 |
<datafield tag="500" ind1=" " ind2=" "> |
71 |
<subfield code="a">Folk, popular, and rock music.</subfield> |
72 |
</datafield> |
73 |
<datafield tag="500" ind1=" " ind2=" "> |
74 |
<subfield code="a">Compact disc.</subfield> |
75 |
</datafield> |
76 |
<datafield tag="500" ind1=" " ind2=" "> |
77 |
<subfield code="a">Program notes in English ([20] p. : col. ill.) inserted in container.</subfield> |
78 |
</datafield> |
79 |
<datafield tag="508" ind1=" " ind2=" "> |
80 |
<subfield code="a">Compiled by Robert Simonds.</subfield> |
81 |
</datafield> |
82 |
<datafield tag="511" ind1="0" ind2=" "> |
83 |
<subfield code="a">Various performers.</subfield> |
84 |
</datafield> |
85 |
<datafield tag="546" ind1=" " ind2=" "> |
86 |
<subfield code="a">Sung in Scandinavian languages.</subfield> |
87 |
</datafield> |
88 |
<datafield tag="650" ind1=" " ind2="0"> |
89 |
<subfield code="a">Folk music</subfield> |
90 |
<subfield code="z">Scandinavia.</subfield> |
91 |
<subfield code="9">706</subfield> |
92 |
</datafield> |
93 |
<datafield tag="650" ind1=" " ind2="0"> |
94 |
<subfield code="a">Folk dance music</subfield> |
95 |
<subfield code="z">Scandinavia.</subfield> |
96 |
<subfield code="9">707</subfield> |
97 |
</datafield> |
98 |
<datafield tag="650" ind1=" " ind2="0"> |
99 |
<subfield code="a">Popular music</subfield> |
100 |
<subfield code="z">Scandinavia</subfield> |
101 |
<subfield code="y">1991-2000.</subfield> |
102 |
<subfield code="9">708</subfield> |
103 |
</datafield> |
104 |
<datafield tag="650" ind1=" " ind2="0"> |
105 |
<subfield code="a">Rock music</subfield> |
106 |
<subfield code="z">Scandinavia</subfield> |
107 |
<subfield code="y">1991-2000.</subfield> |
108 |
<subfield code="9">709</subfield> |
109 |
</datafield> |
110 |
<datafield tag="700" ind1="1" ind2=" "> |
111 |
<subfield code="a">Rimestad, Hege.</subfield> |
112 |
<subfield code="4">prf</subfield> |
113 |
<subfield code="9">61</subfield> |
114 |
</datafield> |
115 |
<datafield tag="700" ind1="0" ind2=" "> |
116 |
<subfield code="a">Wimme.</subfield> |
117 |
<subfield code="4">prf</subfield> |
118 |
<subfield code="9">62</subfield> |
119 |
</datafield> |
120 |
<datafield tag="700" ind1="1" ind2=" "> |
121 |
<subfield code="a">Varis, Tapani.</subfield> |
122 |
<subfield code="4">prf</subfield> |
123 |
<subfield code="9">63</subfield> |
124 |
</datafield> |
125 |
<datafield tag="700" ind1="1" ind2=" "> |
126 |
<subfield code="a">Johansson, Olov.</subfield> |
127 |
<subfield code="4">prf</subfield> |
128 |
<subfield code="9">64</subfield> |
129 |
</datafield> |
130 |
<datafield tag="710" ind1="2" ind2=" "> |
131 |
<subfield code="a">Väsen (Musical group)</subfield> |
132 |
<subfield code="4">prf</subfield> |
133 |
<subfield code="9">65</subfield> |
134 |
</datafield> |
135 |
<datafield tag="710" ind1="2" ind2=" "> |
136 |
<subfield code="a">Hedningarna (Musical group)</subfield> |
137 |
<subfield code="4">prf</subfield> |
138 |
<subfield code="9">66</subfield> |
139 |
</datafield> |
140 |
<datafield tag="710" ind1="2" ind2=" "> |
141 |
<subfield code="a">Groupa (Musical Group)</subfield> |
142 |
<subfield code="4">prf</subfield> |
143 |
<subfield code="9">67</subfield> |
144 |
</datafield> |
145 |
<datafield tag="710" ind1="2" ind2=" "> |
146 |
<subfield code="a">Chateau Neuf (Musical group)</subfield> |
147 |
<subfield code="4">prf</subfield> |
148 |
<subfield code="9">68</subfield> |
149 |
</datafield> |
150 |
<datafield tag="710" ind1="2" ind2=" "> |
151 |
<subfield code="a">Swåp (Musica group)</subfield> |
152 |
<subfield code="4">prf</subfield> |
153 |
<subfield code="9">69</subfield> |
154 |
</datafield> |
155 |
<datafield tag="710" ind1="2" ind2=" "> |
156 |
<subfield code="a">Loituma (Musical group)</subfield> |
157 |
<subfield code="4">prf</subfield> |
158 |
<subfield code="9">70</subfield> |
159 |
</datafield> |
160 |
<datafield tag="710" ind1="2" ind2=" "> |
161 |
<subfield code="a">Garmarna (Musical group)</subfield> |
162 |
<subfield code="4">prf</subfield> |
163 |
</datafield> |
164 |
<datafield tag="710" ind1="2" ind2=" "> |
165 |
<subfield code="a">Hoven Droven (Musical group)</subfield> |
166 |
<subfield code="4">prf</subfield> |
167 |
<subfield code="9">71</subfield> |
168 |
</datafield> |
169 |
<datafield tag="710" ind1="2" ind2=" "> |
170 |
<subfield code="a">Fule (Musical group)</subfield> |
171 |
<subfield code="4">prf</subfield> |
172 |
<subfield code="9">72</subfield> |
173 |
</datafield> |
174 |
<datafield tag="710" ind1="2" ind2=" "> |
175 |
<subfield code="a">Troka (Musical group)</subfield> |
176 |
<subfield code="4">prf</subfield> |
177 |
<subfield code="9">73</subfield> |
178 |
</datafield> |
179 |
<datafield tag="710" ind1="2" ind2=" "> |
180 |
<subfield code="a">Triakel (Musical group)</subfield> |
181 |
<subfield code="4">prf</subfield> |
182 |
<subfield code="9">74</subfield> |
183 |
</datafield> |
184 |
<datafield tag="856" ind1="4" ind2="2"> |
185 |
<subfield code="z">Koha community no protocol</subfield> |
186 |
<subfield code="u">koha-community.org/</subfield> |
187 |
</datafield> |
188 |
<datafield tag="856" ind1="4" ind2="2"> |
189 |
<subfield code="z">Koha community with protocol</subfield> |
190 |
<subfield code="u">https://koha-community.org/</subfield> |
191 |
</datafield> |
192 |
<datafield tag="856" ind1="4" ind2="2"> |
193 |
<subfield code="z">Koha logo image</subfield> |
194 |
<subfield code="q">jpeg</subfield> |
195 |
<subfield code="u">https://koha-community.org/files/2013/09/cropped-kohabanner3.jpg</subfield> |
196 |
</datafield> |
197 |
<datafield tag="857" ind1="4" ind2="2"> |
198 |
<subfield code="z">Koha community no protocol</subfield> |
199 |
<subfield code="u">koha-community.org/</subfield> |
200 |
</datafield> |
201 |
<datafield tag="857" ind1="4" ind2="2"> |
202 |
<subfield code="z">Koha community with protocol</subfield> |
203 |
<subfield code="u">https://koha-community.org/</subfield> |
204 |
</datafield> |
205 |
<datafield tag="857" ind1="4" ind2="2"> |
206 |
<subfield code="z">KohaCon 2024 logo image</subfield> |
207 |
<subfield code="q">jpeg</subfield> |
208 |
<subfield code="u">https://2024.kohacon.org/wp-content/uploads/2024/01/kohacon24_fr_verticale_vert_noir.png</subfield> |
209 |
</datafield> |
210 |
<datafield tag="906" ind1=" " ind2=" "> |
211 |
<subfield code="b">cbc</subfield> |
212 |
<subfield code="c">copycat</subfield> |
213 |
<subfield code="d">3</subfield> |
214 |
<subfield code="e">ncip</subfield> |
215 |
<subfield code="f">20</subfield> |
216 |
<subfield code="g">y-soundrec</subfield> |
217 |
</datafield> |
218 |
<datafield tag="942" ind1=" " ind2=" "> |
219 |
<subfield code="2">ddc</subfield> |
220 |
<subfield code="c">MU</subfield> |
221 |
</datafield> |
222 |
<datafield tag="999" ind1=" " ind2=" "> |
223 |
<subfield code="c">76</subfield> |
224 |
<subfield code="d">76</subfield> |
225 |
</datafield> |
226 |
</record>' where biblionumber=76}); |
227 |
|
228 |
|
229 |
# Other information |
230 |
say_info( $out, "Test data for 38096 added." ); |
231 |
}, |
232 |
}; |