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)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 11 Feb 2016 17:51:59 +0000 (18:51 +0100)
commitaf677b11d18a04f284dd1e908f0cf2e0486104df
tree183a50feec7d34a1287ba3022ce4ea7a67873700
parentda58b67a1a60dd462d2d70f96e3af3f43223058c
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>
(cherry picked from commit bb6658c2e680d615bccd6d5d2f4c971035a44ea1)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 58f3635e6cbc6e5ca0fe086d161237c6e989bfe0)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
reports/dictionary.pl