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.
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>
The MARCXML still has the 952/item information for me 8-(..