Lines 67-78
sub get {
Link Here
|
67 |
} |
67 |
} |
68 |
else { |
68 |
else { |
69 |
my $record = $biblio->metadata->record; |
69 |
my $record = $biblio->metadata->record; |
|
|
70 |
my $marcflavour = C4::Context->preference("marcflavour"); |
70 |
|
71 |
|
71 |
$c->respond_to( |
72 |
$c->respond_to( |
72 |
marcxml => { |
73 |
marcxml => { |
73 |
status => 200, |
74 |
status => 200, |
74 |
format => 'marcxml', |
75 |
format => 'marcxml', |
75 |
text => $record->as_xml_record |
76 |
text => $record->as_xml_record($marcflavour), |
76 |
}, |
77 |
}, |
77 |
mij => { |
78 |
mij => { |
78 |
status => 200, |
79 |
status => 200, |
Lines 203-209
sub get_public {
Link Here
|
203 |
marcxml => { |
204 |
marcxml => { |
204 |
status => 200, |
205 |
status => 200, |
205 |
format => 'marcxml', |
206 |
format => 'marcxml', |
206 |
text => $record->as_xml_record |
207 |
text => $record->as_xml_record($marcflavour), |
207 |
}, |
208 |
}, |
208 |
mij => { |
209 |
mij => { |
209 |
status => 200, |
210 |
status => 200, |
210 |
- |
|
|