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)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 28 Mar 2019 13:46:04 +0000 (13:46 +0000)
commite85294a738da7cce2a4897998ffa795f977b4cd7
tree0b5d2a0a2fec124c737a4beeafe00be5980fe422
parentd522d80c5cdb1f9c097e028499815dca6e9259cf
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>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc