Bug 15557 - Reports dictionary: Remove superfluous radio buttons for date entry
Summary: Reports dictionary: Remove superfluous radio buttons for date entry
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on: 2669
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-12 10:04 UTC by Marc Véron
Modified: 2016-01-12 10:05 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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