Lines 159-202
sub mock_GetMarcSubfieldStructure {
Link Here
|
159 |
if ($marc_type eq 'marc21') { |
159 |
if ($marc_type eq 'marc21') { |
160 |
$bibliomodule->mock('GetMarcSubfieldStructure', sub { |
160 |
$bibliomodule->mock('GetMarcSubfieldStructure', sub { |
161 |
return { |
161 |
return { |
162 |
'biblio.biblionumber' => { tagfield => '999', tagsubfield => 'c' }, |
162 |
'biblio.biblionumber' => [{ tagfield => '999', tagsubfield => 'c' }], |
163 |
'biblio.isbn' => { tagfield => '020', tagsubfield => 'a' }, |
163 |
'biblio.isbn' => [{ tagfield => '020', tagsubfield => 'a' }], |
164 |
'biblio.title' => { tagfield => '245', tagsubfield => 'a' }, |
164 |
'biblio.title' => [{ tagfield => '245', tagsubfield => 'a' }], |
165 |
'biblio.notes' => { tagfield => '500', tagsubfield => 'a' }, |
165 |
'biblio.notes' => [{ tagfield => '500', tagsubfield => 'a' }], |
166 |
'items.barcode' => { tagfield => '952', tagsubfield => 'p' }, |
166 |
'items.barcode' => [{ tagfield => '952', tagsubfield => 'p' }], |
167 |
'items.booksellerid' => { tagfield => '952', tagsubfield => 'e' }, |
167 |
'items.booksellerid' => [{ tagfield => '952', tagsubfield => 'e' }], |
168 |
'items.ccode' => { tagfield => '952', tagsubfield => '8' }, |
168 |
'items.ccode' => [{ tagfield => '952', tagsubfield => '8' }], |
169 |
'items.cn_sort' => { tagfield => '952', tagsubfield => '6' }, |
169 |
'items.cn_sort' => [{ tagfield => '952', tagsubfield => '6' }], |
170 |
'items.cn_source' => { tagfield => '952', tagsubfield => '2' }, |
170 |
'items.cn_source' => [{ tagfield => '952', tagsubfield => '2' }], |
171 |
'items.coded_location_qualifier' => { tagfield => '952', tagsubfield => 'f' }, |
171 |
'items.coded_location_qualifier' => [{ tagfield => '952', tagsubfield => 'f' }], |
172 |
'items.copynumber' => { tagfield => '952', tagsubfield => 't' }, |
172 |
'items.copynumber' => [{ tagfield => '952', tagsubfield => 't' }], |
173 |
'items.damaged' => { tagfield => '952', tagsubfield => '4' }, |
173 |
'items.damaged' => [{ tagfield => '952', tagsubfield => '4' }], |
174 |
'items.dateaccessioned' => { tagfield => '952', tagsubfield => 'd' }, |
174 |
'items.dateaccessioned' => [{ tagfield => '952', tagsubfield => 'd' }], |
175 |
'items.datelastborrowed' => { tagfield => '952', tagsubfield => 's' }, |
175 |
'items.datelastborrowed' => [{ tagfield => '952', tagsubfield => 's' }], |
176 |
'items.datelastseen' => { tagfield => '952', tagsubfield => 'r' }, |
176 |
'items.datelastseen' => [{ tagfield => '952', tagsubfield => 'r' }], |
177 |
'items.enumchron' => { tagfield => '952', tagsubfield => 'h' }, |
177 |
'items.enumchron' => [{ tagfield => '952', tagsubfield => 'h' }], |
178 |
'items.holdingbranch' => { tagfield => '952', tagsubfield => 'b' }, |
178 |
'items.holdingbranch' => [{ tagfield => '952', tagsubfield => 'b' }], |
179 |
'items.homebranch' => { tagfield => '952', tagsubfield => 'a' }, |
179 |
'items.homebranch' => [{ tagfield => '952', tagsubfield => 'a' }], |
180 |
'items.issues' => { tagfield => '952', tagsubfield => 'l' }, |
180 |
'items.issues' => [{ tagfield => '952', tagsubfield => 'l' }], |
181 |
'items.itemcallnumber' => { tagfield => '952', tagsubfield => 'o' }, |
181 |
'items.itemcallnumber' => [{ tagfield => '952', tagsubfield => 'o' }], |
182 |
'items.itemlost' => { tagfield => '952', tagsubfield => '1' }, |
182 |
'items.itemlost' => [{ tagfield => '952', tagsubfield => '1' }], |
183 |
'items.itemnotes' => { tagfield => '952', tagsubfield => 'z' }, |
183 |
'items.itemnotes' => [{ tagfield => '952', tagsubfield => 'z' }], |
184 |
'items.itemnumber' => { tagfield => '952', tagsubfield => '9' }, |
184 |
'items.itemnumber' => [{ tagfield => '952', tagsubfield => '9' }], |
185 |
'items.itype' => { tagfield => '952', tagsubfield => 'y' }, |
185 |
'items.itype' => [{ tagfield => '952', tagsubfield => 'y' }], |
186 |
'items.location' => { tagfield => '952', tagsubfield => 'c' }, |
186 |
'items.location' => [{ tagfield => '952', tagsubfield => 'c' }], |
187 |
'items.materials' => { tagfield => '952', tagsubfield => '3' }, |
187 |
'items.materials' => [{ tagfield => '952', tagsubfield => '3' }], |
188 |
'items.nonpublicnote' => { tagfield => '952', tagsubfield => 'x' }, |
188 |
'items.nonpublicnote' => [{ tagfield => '952', tagsubfield => 'x' }], |
189 |
'items.notforloan' => { tagfield => '952', tagsubfield => '7' }, |
189 |
'items.notforloan' => [{ tagfield => '952', tagsubfield => '7' }], |
190 |
'items.onloan' => { tagfield => '952', tagsubfield => 'q' }, |
190 |
'items.onloan' => [{ tagfield => '952', tagsubfield => 'q' }], |
191 |
'items.price' => { tagfield => '952', tagsubfield => 'g' }, |
191 |
'items.price' => [{ tagfield => '952', tagsubfield => 'g' }], |
192 |
'items.renewals' => { tagfield => '952', tagsubfield => 'm' }, |
192 |
'items.renewals' => [{ tagfield => '952', tagsubfield => 'm' }], |
193 |
'items.replacementprice' => { tagfield => '952', tagsubfield => 'v' }, |
193 |
'items.replacementprice' => [{ tagfield => '952', tagsubfield => 'v' }], |
194 |
'items.replacementpricedate' => { tagfield => '952', tagsubfield => 'w' }, |
194 |
'items.replacementpricedate' => [{ tagfield => '952', tagsubfield => 'w' }], |
195 |
'items.reserves' => { tagfield => '952', tagsubfield => 'n' }, |
195 |
'items.reserves' => [{ tagfield => '952', tagsubfield => 'n' }], |
196 |
'items.restricted' => { tagfield => '952', tagsubfield => '5' }, |
196 |
'items.restricted' => [{ tagfield => '952', tagsubfield => '5' }], |
197 |
'items.stack' => { tagfield => '952', tagsubfield => 'j' }, |
197 |
'items.stack' => [{ tagfield => '952', tagsubfield => 'j' }], |
198 |
'items.uri' => { tagfield => '952', tagsubfield => 'u' }, |
198 |
'items.uri' => [{ tagfield => '952', tagsubfield => 'u' }], |
199 |
'items.withdrawn' => { tagfield => '952', tagsubfield => '0' }, |
199 |
'items.withdrawn' => [{ tagfield => '952', tagsubfield => '0' }], |
200 |
}; |
200 |
}; |
201 |
}); |
201 |
}); |
202 |
} |
202 |
} |
203 |
- |
|
|