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