]> git.koha-community.org Git - koha.git/commit
Bug 18246: Patron card creator: Unit not always displays properly in layouts
authorMarc Véron <veron@veron.ch>
Sat, 11 Mar 2017 18:17:37 +0000 (19:17 +0100)
committerMason James <mtj@kohaaloha.com>
Mon, 3 Apr 2017 15:43:19 +0000 (03:43 +1200)
commit9ae18c69dbbb34d7bacac27b1066f85af8a3a30c
tree7f5e59dfd31aef4e1cd1a09b61d2bd5f33dd7c28
parentfaef4f5d866edbb30ed6cf62823cc969e8f9f8c6
Bug 18246: Patron card creator: Unit not always displays properly in layouts

To reproduce:

1) Create a new layout
2) Select an unit in "Units selection"
3) Save
4) Edit layout again
5) Select other unit, e.g. 'SI Centimeter'
6) Save
7) Repeat
8) Edit again
Error: Latest unit seems to stick and can no longer be changed, because
in units drop down, multiple untis are marked as selected.

To test:
1) Apply patch
2) Repeat steps above, verify that value for units always display as expected.

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 37da40b323d8bc012724510fe4839dcb908c2b3b)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
patroncards/edit-layout.pl