]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 11 May 2015 21:41:41 +0000 (09:41 +1200)
commitc600d875b5aa19964f50cd3e96f9030661d3ca54
treed8f1857e372ff38d91b3ff249d34fd9bdf34ff26
parentfa8d2b7efe29907b00a310b202d3ec51cfdf3c55
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>
(cherry picked from commit 9d7d645baf35ae8b0b37d5d6c8ad653f8aa55841)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
serials/subscription-add.pl