|
Lines 177-182
my $marcflavour = C4::Context->preference("marcflavour");
Link Here
|
| 177 |
$template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") ); |
177 |
$template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") ); |
| 178 |
|
178 |
|
| 179 |
$template->param( ocoins => !$invalid_marc_record ? $biblio->get_coins : undef ); |
179 |
$template->param( ocoins => !$invalid_marc_record ? $biblio->get_coins : undef ); |
|
|
180 |
my $nonxml_errors = $biblio->metadata->metadata_errors->search( { error_type => 'nonxml_stripped' } ); |
| 181 |
if ( $nonxml_errors->count ) { |
| 182 |
my @messages = map { $_->message } $nonxml_errors->as_list; |
| 183 |
$template->param( nonxml_stripped => join( "\n", @messages ) ); |
| 184 |
} |
| 180 |
|
185 |
|
| 181 |
# some useful variables for enhanced content; |
186 |
# some useful variables for enhanced content; |
| 182 |
# in each case, we're grabbing the first value we find in |
187 |
# in each case, we're grabbing the first value we find in |