https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27577

Phil Ringnalda <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #116030|0                           |1
        is obsolete|                            |

--- Comment #2 from Phil Ringnalda <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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