[Bug 29694] New: Add preference for setting marc-record system control number and identifier when saving biblio
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 Bug ID: 29694 Summary: Add preference for setting marc-record system control number and identifier when saving biblio Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: glasklas@gmail.com QA Contact: testopia@bugs.koha-community.org Add a syspref, "AutoAddSystemControlNumberAndMARCOrgCode". If enabled, when a new biblio is saved, the 001 and 003 fields of the marc record will be set to the koha biblionumber and value of the "MARCOrgCode" syspref respectively. According to the MARC21 standard the old values of 001 and 003 may also be moved to field 035, 010 or 016 as appropriate, but it since this step is more complicated it's perhaps better left to the user to implement some custom solution for this (for example as a to-marc-plugin). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 --- Comment #1 from David Gustafsson <glasklas@gmail.com> --- Created attachment 128517 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128517&action=edit Bug 29694: Add preference for setting 001 and 003 fields on biblio save Add a syspref, "AutoAddSystemControlNumberAndMARCOrgCode". If enabled the 001 and 003 fields of the marc record will be set to the koha biblionumber and value of the "MARCOrgCode" syspref respectively before when saving biblios. To test: 1) Add a new biblio 2) Verify that 001 field is empty 3) Enable AutoAddSystemControlNumberAndMARCOrgCode syspref and make sure MARCOrgCode syspref is set to some value 4) Save biblio again 5) Verify that 001 has been set to the Koha biblio and 003 to the value of MARCOrgCode 6) Run tests in t/db_dependent/Biblio.t -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 --- Comment #2 from David Gustafsson <glasklas@gmail.com> --- Created attachment 128518 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128518&action=edit Bug 29694: Add tests -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128517|0 |1 is obsolete| | --- Comment #3 from David Gustafsson <glasklas@gmail.com> --- Created attachment 128519 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128519&action=edit Bug 29694: Add preference for setting 001 and 003 fields on biblio save Add a syspref, "AutoAddSystemControlNumberAndMARCOrgCode". If enabled the 001 and 003 fields of the marc record will be set to the koha biblionumber and value of the "MARCOrgCode" syspref respectively before when saving biblios. To test: 1) Add a new biblio 2) Verify that 001 field is empty 3) Enable AutoAddSystemControlNumberAndMARCOrgCode syspref and make sure MARCOrgCode syspref is set to some value 4) Save biblio again 5) Verify that 001 has been set to the Koha biblionumber and 003 to the value of MARCOrgCode 6) Run tests in t/db_dependent/Biblio.t Sponsored-by: Gothenburg University Library -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128518|0 |1 is obsolete| | --- Comment #4 from David Gustafsson <glasklas@gmail.com> --- Created attachment 128520 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128520&action=edit Bug 29694: Add tests -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 David Gustafsson <glasklas@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |glasklas@gmail.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29694 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi David, I feel like this is at least a partial duplicate to bug 27981, that was pushed for 22.11. 003 is set for me to the MarcOrgCode system preference value or to the logged in library's MARCOrgCode on saving. So this seems to work as well. *** This bug has been marked as a duplicate of bug 27981 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org