Bugzilla – Attachment 169053 Details for
Bug 37376
Item data added to incorrect OPAC export formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37376: Make item data added to bibtext format only in OPAC export
Bug-37376-Make-item-data-added-to-bibtext-format-o.patch (text/plain), 1.07 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-07-16 17:22:06 UTC
(
hide
)
Description:
Bug 37376: Make item data added to bibtext format only in OPAC export
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-07-16 17:22:06 UTC
Size:
1.07 KB
patch
obsolete
>From cd1b5fdd729224bbb1293b310b886903256649f8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 16 Jul 2024 14:05:52 -0300 >Subject: [PATCH] Bug 37376: Make item data added to bibtext format only in > OPAC export > >To test: >1. In KTD have a record with items open in hte OPAC: > http://kohadev.mydnsname.org:8080/cgi-bin/koha/opac-detail.pl?biblionumber=9 >2. Export in MARCXML format >=> FAIL: It contains 952 field information >3. Apply this patch >4. Repeat 2 >=> SUCCESS: No item information included >5. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > opac/opac-export.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-export.pl b/opac/opac-export.pl >index d0e5bf12030..e2d0f58ece4 100755 >--- a/opac/opac-export.pl >+++ b/opac/opac-export.pl >@@ -66,7 +66,7 @@ my $biblio = Koha::Biblios->find($biblionumber); > my $marc = $biblio > ? $biblio->metadata->record( > { >- embed_items => 1, >+ embed_items => $include_items, > opac => 1, > patron => $patron, > } >-- >2.39.2
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 37376
: 169053