Summary: | Prevent MARC tags from import when using Z39.50 | ||
---|---|---|---|
Product: | Koha | Reporter: | Barbara Johnson <barbara.johnson> |
Component: | Cataloging | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | bugzilla, dcook, m.de.rooy |
Version: | 19.11 | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Barbara Johnson
2020-09-03 16:10:32 UTC
If you aren't using the field within your library. you could also delete it from the frameworks. That will automatically delete the tags when you save (some say it's a bug, other a feature). For Z39.50 creating an XSL script to do this should also work. This is an existing configuration option in the Z39.50 server configuration. Currently we have some sample scripts, you can just add and try out, see here: https://koha-community.org/manual/20.05/en/html/administration.html#add-a-z39-50-target Another thing that goes somewhat in that direction is: Bug 14957 - Write protecting MARC fields based on source of import (In reply to Katrin Fischer from comment #1) > If you aren't using the field within your library. you could also delete it > from the frameworks. That will automatically delete the tags when you save > (some say it's a bug, other a feature). > I think I'll always call that a bug ;). So I'd advocate for the XSLT approach. So this report can be closed ? (In reply to Marcel de Rooy from comment #3) > So this report can be closed ? +1 (In reply to Katrin Fischer from comment #1) > If you aren't using the field within your library. you could also delete it > from the frameworks. That will automatically delete the tags when you save > (some say it's a bug, other a feature). > > For Z39.50 creating an XSL script to do this should also work. This is an > existing configuration option in the Z39.50 server configuration. Currently > we have some sample scripts, you can just add and try out, see here: > https://koha-community.org/manual/20.05/en/html/administration.html#add-a- > z39-50-target > > Another thing that goes somewhat in that direction is: > Bug 14957 - Write protecting MARC fields based on source of import Thanks so much for your suggestions and I am investigating the XSL scripts. Bug 14957 looks exciting too. Just FYI - I was excited to try removing an unused field from the framework but it only worked when creating a new bib record via Z39.50 on addbooks.pl. It didn't work on editor.pl when using Z39.50 to overlay a bib record by using the substitute button. So that's seems like a whole different bug. Hi Barbara, I think the XSL or bug 17485 could fix your issue. I am deduplicating this with bug 17485 (using MARC modification templates on import) that I think would give a good base for these kind of operations without having to use XSL that requires more technical knowledge. *** This bug has been marked as a duplicate of bug 17485 *** |