Bug 14366: Units doesn't get saved usefully for patroncards
authorDavid Cook <dcook@prosentient.com.au>
Tue, 9 Jun 2015 04:25:23 +0000 (14:25 +1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 8 Jul 2015 17:47:20 +0000 (14:47 -0300)
commitf573a155974c84a6fb433bff86a220d4644ad27e
tree78f2f0f1690706e31443dbbbf5e902c33b860aa1
parent958be9804a50c3e13f74c4d5f81348e2256a8042
Bug 14366: Units doesn't get saved usefully for patroncards

This patch causes the "Units" to be saved and displayed correctly
for the "Edit layout" screen in Patroncards.

_TEST PLAN_

Before applying:
0) Create a new layout
1) Edit the layout, change the units, and click Save
2) Edit the layout again, and notice the units are still "PostScript Points"

Apply the patch:
3) Edit the layout again, change the units, and click Save
4) Edit the layout again, note that the units have changed to your
selection

5) Rejoice

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
patroncards/edit-layout.pl