Bug 35099: (bug 26314 follow-up) Fix detail view for records with invalid MARCXML
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b28f7ad0e6
commit
f50d2c7d0e
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ if ( $showcomp eq 'both' || $showcomp eq 'staff' ) {
|
|||
}
|
||||
|
||||
# Display volumes link
|
||||
my $show_volumes = @{ $biblio->get_marc_volumes(1) } ? 1 : 0;
|
||||
my $show_volumes = ( !$invalid_marc_record && @{ $biblio->get_marc_volumes(1) } ) ? 1 : 0;
|
||||
|
||||
# XSLT processing of some stuff
|
||||
my $xslt_variables = {
|
||||
|
|
Loading…
Reference in a new issue