Bug 17072: 006 not filling in with existing values
authorJacek Ablewicz <abl@biblos.pk.edu.pl>
Thu, 1 Sep 2016 16:13:50 +0000 (18:13 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 20:18:43 +0000 (22:18 +0200)
commitb473e0791f97f731c4639de76905b4a8f592c928
treec61987b31536698d845d2205e91078b6142be50e
parentb7f33a083d0c88b30333a75ed4abda126e22d945
Bug 17072: 006 not filling in with existing values

When you use the 006 builder to view the existing values in the 006
tag, Koha is not pulling these existing values into the builder
window. Instead, Koha appears to be using defaults.

To reproduce:

1. Open a record in the editor
2. Switch from BKS to another material type.
3. Change as many settings as possible.
4. Close plugin.
5. Reopen plugin - notice your selections are not shown.

Trivial patch, heavilly inspired by Bug 9093.

To test:

1. Apply patch
2. Ensure that issue described above is no longer reproductible

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a1fd726157c5857ecde1b66e79284f48142be7e5)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
cataloguing/value_builder/marc21_field_006.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt