Bug 21049: Fix value of material select for Rancor 007 widget
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 6 Mar 2019 07:43:18 +0000 (08:43 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 1 Apr 2019 16:44:38 +0000 (16:44 +0000)
commitb25c4196b8174b375d8c13ccb8dee145c5d784b6
tree3720464465439210f1ac0084abdc48bfee83b169
parent9116cba3506b1129ed4165734a18fb66b3b8191a
Bug 21049: Fix value of material select for Rancor 007 widget

The material type is selected in accordance with position 0 of 007

Test plan:
1. Create a new record using the advanced editor
2. Select a material type for field 007 and set at least the position 0
   of this field
3. Save the record and reload the page
4. The material type should remain selected
5. Try with all available material types

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e85294a738da7cce2a4897998ffa795f977b4cd7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit d5aa7655a643a5a4868a47b8aae5371438993580)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc