Bug 27838

Summary: See also authorities not copied
Product: Koha Reporter: Hugo Agud <hagud>
Component: CatalogingAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: jonathan.druart, m.de.rooy, oleonard
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 22399    
Bug Blocks:    

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 ***