Bug 2669: Change checkboxes to radio buttons on dictionary
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Jan 2016 11:32:23 +0000 (11:32 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 27 Jan 2016 02:42:46 +0000 (02:42 +0000)
commitbb6658c2e680d615bccd6d5d2f4c971035a44ea1
tree769a029583257413aa349384724aee46e41a55d1
parent6a2bf8d31b1fbe1d83a66d314bc97be41af65ca7
 Bug 2669: Change checkboxes to radio buttons on dictionary

On creating new dictionary for report, the choice between "All dates"
and "Date range" should be a real radio button, not 2 radio buttons with
different names (which means they could be selected altogether...)

Note that I don't understand what means 'All dates', there is no
condition generated for the dictionary. We should not have to select a
field if we don't want to add a condition on it :)

Test plan:
Create a new dictionary for the Patron module, then a date field
(dateenrolled or birthdate, etc.)

Confirm that the radio buttons now behave as radio buttons...

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Looks so much nicer too!

Radio buttons display as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
reports/dictionary.pl