Bug 15863

Summary: When creating a dictionary for date column, date range selection should be hidden if all dates is selected
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: ReportsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: kyle, veron
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2669
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 15863: Show/hide date range selection if not needed - dictionnary
Bug 15863: Show/hide date range selection if not needed - dictionnary
[PASSED QA] Bug 15863: Show/hide date range selection if not needed - dictionnary

Description Jonathan Druart 2016-02-19 16:13:25 UTC
When creating a dictionary for a date column, there is a "date range" / "all dates" radio buttons and 2 inputs to select the date range. These inputs should be hidden if "all dates" is selected.

See bug 2669 comment 10 for the request.
Comment 1 Jonathan Druart 2016-02-19 16:15:58 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2016-02-19 17:02:07 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2016-04-03 15:01:17 UTC
Created attachment 49826 [details] [review]
[PASSED QA] Bug 15863: Show/hide date range selection if not needed - dictionnary

When creating a dictionary for a date column, there is a "date range" /
"all dates" radio buttons and 2 inputs to select the date range. These
inputs should be hidden if "all dates" is selected.

Test plan:
1/ Create a new dictionary on reports/dictionary.pl
2/ Select a date column (borrowers.dateofbirth of instance)
3/ On step 4, the start/end of the date range inputs should be
hidden/shown depending of the radio buttons.

Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Kyle M Hall 2016-04-29 13:36:49 UTC
Pushed to master for the May 2016 release. Thanks Jonathan!