]> git.koha-community.org Git - koha.git/commit
Bug 14022: Does not reset the subscription length on editing a subscription
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 20 Apr 2015 14:59:05 +0000 (16:59 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Apr 2015 19:25:55 +0000 (16:25 -0300)
commit9d7d645baf35ae8b0b37d5d6c8ad653f8aa55841
treed8aaadc185055121bc1e0ef53aeae79aeee56a8c
parent40543e9c45a9b986c0382cb25e6979a8cc224e56
Bug 14022: Does not reset the subscription length on editing a subscription

The subscription length is always set to the first/default value
('issues') when editing a subscription.
Even if you selected another value on creating/editing it, the form will
show you the first option.

Test plan:
1/ Add/Edit a subscription, select a subscription length different of
the first value (issues)
2/ Edit the subscription and confirm the value is kept

Bonus: issues, week and months become translatable.

Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
serials/subscription-add.pl