Bugzilla – Attachment 157510 Details for
Bug 35099
Cannot load records with invalid marcxml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35099: (bug 26314 follow-up) Fix detail view for records with invalid MARCXML
Bug-35099-bug-26314-follow-up-Fix-detail-view-for-.patch (text/plain), 825 bytes, created by
Jonathan Druart
on 2023-10-20 12:39:06 UTC
(
hide
)
Description:
Bug 35099: (bug 26314 follow-up) Fix detail view for records with invalid MARCXML
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-10-20 12:39:06 UTC
Size:
825 bytes
patch
obsolete
>From 7c67eeba9f801c60bc3c6440ded1f76b53095d72 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 20 Oct 2023 14:38:37 +0200 >Subject: [PATCH] Bug 35099: (bug 26314 follow-up) Fix detail view for records > with invalid MARCXML > >--- > catalogue/detail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 428574e365b..9edaf3f3bbf 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -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 = { >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35099
:
157394
|
157398
|
157423
|
157430
|
157431
|
157432
|
157510
|
157513
|
157515