Bug 15557

Summary: Reports dictionary: Remove superfluous radio buttons for date entry
Product: Koha Reporter: Marc Véron <veron>
Component: ReportsAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 2669    
Bug Blocks:    

Description Marc Véron 2016-01-12 10:04:17 UTC
In reports dictionary step 4, the form displays 2 radioboxes for "All dates" and for "Date range".

If "All dates" is set, the definition saves with an empty condition. (With and without patch, see dictionary.pl line 152.)

To have a condition saved, "Date range" and at least one of the dates "Start of date range" and/or "End of date range" has to be set.

Conclusion: 
The checkboxes could be removed. This needs some changes in dictionary.pl line 152 and following.

See Bug 2669, comment #4