Bug 37376 - Item data added to incorrect OPAC export formats
Summary: Item data added to incorrect OPAC export formats
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Tomás Cohen Arazi
QA Contact: Testopia
URL:
Keywords:
Depends on: 29697
Blocks:
  Show dependency treegraph
 
Reported: 2024-07-16 17:00 UTC by Tomás Cohen Arazi
Modified: 2024-07-17 05:09 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 37376: Make item data added to bibtext format only in OPAC export (1.07 KB, patch)
2024-07-16 17:22 UTC, Tomás Cohen Arazi
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi 2024-07-16 17:00:19 UTC
Before bug 29697, the opac-export.pl script only added item information to the `bibtex` format case. With that bug's refactoring, it ended up always adding it.
Comment 1 Tomás Cohen Arazi 2024-07-16 17:22:06 UTC
Created attachment 169053 [details] [review]
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>
Comment 2 David Nind 2024-07-17 05:09:05 UTC
The MARCXML still has the 952/item information for me 8-(..