Bug 27838 - See also authorities not copied
Summary: See also authorities not copied
Status: RESOLVED DUPLICATE of bug 27737
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: master
Hardware: All All
: P5 - low major (vote)
Assignee: Owen Leonard
QA Contact: Testopia
Depends on: 22399
  Show dependency treegraph
Reported: 2021-03-02 16:01 UTC by Hugo Agud
Modified: 2021-03-02 17:20 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Agud 2021-03-02 16:01:56 UTC
At koha 20.11.03 thre is an issue when try to add a see also authority, it onlye copies rlink, doesn't copy $a autority.

Test plan:

a) Search for a geographic authority (it doesn't matter which one, topic, personall...etc) 
b) Go to 551 (if geographic) look for an authority and select it to link it to youe record
c) it  just copy the rlin it doesn't copy 151$a 

Tested with 20.11 fresh install
it work with 20.05
Comment 1 Jonathan Druart 2021-03-02 16:27:35 UTC
Owen, I think this has been caused by
  commit 579608808c4ec81f469e4c48627525d17a16194d
  Bug 22399: Improve responsive behavior of the basic marc editor

Can you have a look please? 

More precisely:
 56                 function SetSubfieldNumber(subfield_name, nb) {

And I bet the culprit is:
 52                 var field_start = whichfield.parentNode.parentNode.parentNode.parentNode;
Comment 2 Owen Leonard 2021-03-02 17:20:37 UTC

*** This bug has been marked as a duplicate of bug 27737 ***