From 230596d6a25975fbe23a0a07615bb9d7c8abc58b Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Mon, 25 Sep 2017 08:00:39 +0000 Subject: [PATCH] Bug 19361 - Display the value of a MARC field in dropdown box after it is linked to an authorised value This patch displays the previously entered input of a MARC subfield (inputted before an authorised value was linked to the MARC field) in the new authorised value dropdown so that it can be resubmitted and not lost from the database. Test plan: 1. Create a record and write a value into the Edition 942$e MARC field and submit form 2. Create a new authorised value category and link it to the same Edition MARC subfield 3. Load the MARC record again and notice that the Edition field is now an empty dropdown box. Also for future reference in this test note the values in the 942$2 and 942$c dropdown boxes 4. Query the biblio_metadata table with the biblionumber of the record that you created in step 1 and notice that the value you entered in step 1 into the Edition ( --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 7a50096..a8f937e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -682,14 +682,18 @@ function Changefwk() { [% END %] - + [% IF ( subfield_loo.repeatable ) %] @@ -700,7 +704,6 @@ function Changefwk() { [% END %] - [% END %] -- 1.9.1