[Koha-bugs] [Bug 27577] Autolink bibs after generating the biblionumber
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 12 22:28:53 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27577
Phil Ringnalda <phil at chetcolibrary.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #116030|0 |1
is obsolete| |
--- Comment #2 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 116851
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116851&action=edit
Bug 27577: Autolink biblio after biblionumber is generated
If BiblioAddsAuthorities and AutoCreateAuthorities are enabled, a new record is
auto linked when saving and authorities generated with a 670 field that
indicates which record generated the new authority.
The code to do this is called before the biblionumber is generated, so the
variable that adds the biblionumber to the citation is empty
This patch moves the linking code to after the biblionumber is generated
To recreate:
1 - Enable BiblioAddsAuthorities and AutoCreateAuthorities
2 - Import or create a new record
3 - Ensure the record has controlled fields that do not have authorities before
saving, i.e.:
Add a 650 with "test_bug_27577_01"
4 - Search for the authority record
5 - Note the 670 field does not contain the biblionumber
6 - Apply patch, restart all the things
7 - Repeat 2-4
8 - Note the 670 now has the biblionumber
Signed-off-by: Phil Ringnalda <phil at chetcolibrary.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list