Bug 17485 - Add MARC modification templates to Z39.50 import
Summary: Add MARC modification templates to Z39.50 import
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Z39.50 / SRU / OpenSearch Servers (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Aleisha Amohia
QA Contact: Testopia
URL:
Keywords:
: 26371 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-21 18:25 UTC by Marjorie Barry-Vila
Modified: 2024-11-27 19:00 UTC (History)
13 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
XSL file to delete incoming 001 fields (436 bytes, application/xslt+xml)
2024-04-19 12:46 UTC, Nick Clemens (kidclamp)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marjorie Barry-Vila 2016-10-21 18:25:16 UTC
Hi,

It would be great to have possibility using marc modification templates on Z39.50 search.



Regards,
Marjorie
Comment 1 Katrin Fischer 2020-10-19 00:58:15 UTC
*** Bug 26371 has been marked as a duplicate of this bug. ***
Comment 2 Barbara Johnson 2021-07-13 18:29:10 UTC
I'd love to see some more action on this bug because I think this would be great functionality.  

We get brief bib records when we order from our vendor.  When cataloging in the advanced editor we overlay the brief bib with a full MARC record via Z39.50.  Sometimes the incoming record has tags that we do not want in our bibs (local 9XX tags, 852, local 59x notes, etc.)  We'd like a way to prevent those tags from being imported instead of having to delete them from every incoming record.  We'd also like a way to add or modify fields in the incoming record such as changing an incoming 092 to an 099.  

These are some examples of what we would like to have automatically removed from the incoming records:
Delete all 9xx tags
Delete all 852 tags
Delete all 59x tags
Delete all 69x tags
Delete subfield ‡0 from all 1xx, 6xx, 7xx and 8xx tags - Example: 600 1 0 ‡aObama, Michelle,‡d1964-‡0823994
Delete 6xx subject headings that contain a subfield ‡2fast‡0(OCoLC) - Example: 650 _ 7 ‡aAfrican American women lawyers.‡2fast‡0(OCoLC)fst00799505.
Change the incoming 092 tag to an 099 tag
Delete all 035 tags that do not contain (OCoLC) at the beginning
Remove the  diacritic symbol from the beginning of a 264_4 tag
Delete subfield ‡b of the 003 tag
Add audience code to the leader
Comment 3 Laura Horgan 2021-10-08 19:19:17 UTC
When importing a record would like the ability to delete automatically sears and bisacsh headings.  At this point only a specific field number can be deleted.  If we could further specify subfields or indicators that would be helpful

650 7 #2 sears and bisasch
Comment 4 Andrew Fuerste-Henry 2023-01-20 14:56:55 UTC
+1 on this.
Comment 5 Nick Clemens (kidclamp) 2024-04-19 12:43:34 UTC
Just mentioning here, while it's not as easy for the user to setup, you can specify an XSLT file for transforming the incoming records, and this can achieve some of the desired functionality
Comment 6 Nick Clemens (kidclamp) 2024-04-19 12:46:16 UTC
Created attachment 165171 [details]
XSL file to delete incoming 001 fields

Sample file to illustrate removing fields on import from Z39.50
Comment 7 Phil Ringnalda 2024-04-19 20:23:56 UTC
XSLT should do more of the desired functionality, if not all, since without bug 21860 you can't use MARC modification templates to do anything about things you only object to based on indicators, like French subjects on an English work, or the strange OCLC habit of using duplicate subject headings with the undefined second indicator 8.

Unfortunately, bug 35255 means XSLT is useless for advanced editor users.
Comment 8 Cab Vinton 2024-11-27 19:00:13 UTC
+1 on this as well from here. It's hard to imagine that almost every library doesn't have at least some basic MARC cleanup that would be great to accomplish automatically on import.