Bug 14943

Summary: Multiple datepickers incorrectly linked in guided reports wizard
Product: Koha Reporter: Fiona Borthwick <fiona.borthwick>
Component: ReportsAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: fiona.borthwick
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:

Description Fiona Borthwick 2015-10-02 13:35:48 UTC
When creating a report using the Guided Reports wizard, the calendar gadget does not work correctly for ending dates.

To reproduce:

Guided Reports Wizard - Build New
Select Catalogue group
Step 4 - select criteria to limit on

There are 3 calendar gadgets - Creation Date, Modification Date, Due Date.

Select a start date using the gadget.  
Click on End date and gadget is all greyed out.  You can select a date in the past but you cannot move forward.  The remaining months in the year are not visible in the pull down menu.

For example, select start date of 1/9/2015.  End date gadget defaults to September but it is all greyed out and October, November and December are not available to select.

Can obviously manually type the date in to the field.
Comment 1 Owen Leonard 2016-06-21 12:51:52 UTC
For each date column selected in the guided reports wizard, a pair of date input fields is generated: start date and end date. These inputs should be linked so that the second date cannot fall before the first date. This isn't working correctly when multiple date columns are selected for the report.