Bug 34179

Summary: Make authority MARC preview look like bibliographic MARC preview
Product: Koha Reporter: Heather <heather_hernandez>
Component: MARC Authority data supportAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Heather 2023-06-30 19:53:22 UTC
Starting with 22.11, the MARC preview of auts is very different from the MARC preview of bibs.  When displaying aut search results, the user can select for a particular aut record:
Actions
MARC preview

And what appears seems to be a compilation of the tabbed display with all the MARC labels, e.g., "455 ## - SEE FROM TRACING--GENRE/FORM TERM" included.  So it's not really a MARC preview--it's a repeat of the tabbed display assembled into one window.

Since the MARC tag labels are already there for authorities in the tabbed display (like the MARC tag labels are present in the OPAC "MARC view"), they are already present for anyone wanting a MARC display with textual field labels.  An unlabeled display for auts doesn't really exist, and it would be great if the "MARC preview" for auts was the unlabeled MARC display available for staff, just like the MARC preview for bibs is a unlabeled MARC display.

I really want a way to see an unlabeled MARC aut record in one screen—to be able to look at it, read it, etc., quickly.  There is currently no way to do that, and I think having the MARC preview repeat all the tag/field labels that are already present in the regular display is redundant.  I would love​ for the aut MARC preview to be exactly the same as the bib MARC preview, so there is a way for catalogers to quickly see an unlabeled MARC record that they can examine, scan, read, etc.
Comment 1 Owen Leonard 2023-06-30 20:30:32 UTC
The "plain" MARC preview which you can trigger from, for example, the bibliographic detail page, depends on XML data which is being formatted by an XSLT file, plainMARC.xsl. That file *might* be generic enough to pass an authority record to, but the supporting script, catalogue/showmarc.pl, needs to have authority record handling added.