https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39501
Biblibre Sandboxes <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180054|0 |1 is obsolete| | --- Comment #3 from Biblibre Sandboxes <[email protected]> --- Created attachment 180413 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180413&action=edit Bug 39501: add "value=" attributes to the HTML select element In the current main branch, when linking authorities with other authorities, if you select a relationship you no longer get the associated letter (i.e. the "relationship code") copied to the appropriate subfield. Rather, the whole description gets copied. This patch fixes that. Test plan: 0) [PREREQUISITES in order for the authority finder plugin to come up] a) You must have at least one authority type besides the 'Default'. b) View the MARC structure of the 'Default' auth type, then click on 'Actions->Subfields' for tag 500; click on 'Edit subfields'. Select the subfield 'a' tab, then pick an auth type from the 'Thesaurus:' dropdown menu; click 'Save changes' at the top. 1) In the Staff client, go to Authorities, then click 'New Authority' and pick the 'Default' authority type (or edit an existing auth). 2) When the authority editor comes up, go to tag 500 and expand it. 3) Click on the ellipsis (...) next to subfield $a. 4) When the authority finder comes up, search for an authority, pick a relator code from the 'Special relationship:' dropdown, and then click on the 'Choose' button for one of the authorities you found. 5) Notice that the whole description for the relationship you selected gets copied (instead of just the single letter relationship code). 6) Apply this patch. 7) Repeat steps 1-4. Notice that, this time, only the relationship code gets copied over. Signed-off-by: Laurence <[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/
