http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6681

--- Comment #15 from [email protected] ---
Created attachment 31181
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31181&action=edit
Bug 6681 - When importing a biblio record via Z39.50, authority links and items
also get imported.

This patch removes the content of subfield 9 for all authority headings and
items in biblios imported from a Z39.50 server.

Changes:

C4/Biblio.pm               - new function RemoveItemsAndAuthidsFromRecord added
acqui/neworderempty.pl     - calls new function
cataloguing/addbiblio.pl   - calls new function
t/Biblio.t                 - new tests added

Testing:

I Before applying the patch

0) Add a koha z39.50 server (Home › Administration › Z39.50 servers);
1) in Home > Cataloging click <<New from z39.50>>;
2) Import a record with an autority link (with zone 100 subzone 9 for example);
3) Validate: The record imported have zone 100, subzone 9;

II After applying the patch

1) in Home > Cataloging click <<New from z39.50>>;
2) Import a record with an autority link (with zone 100 subzone 9 for example);
3) Validate: The record imported don't have the subzone 9 in the zone 100;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to