MantisBT - v2.4 Release (Closed)
View Issue Details
0000861v2.4 Release (Closed)[All Projects] Generalpublic2011-07-06 05:042011-08-16 23:38
Assigned Tocaseydk 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.4 
Summary0000861: Clicking on any of the buttons in the Task List report does not alter the dates
DescriptionThe task list report has buttons like "previous month", "previous Week","Next Week" etc. Clicking on the buttons does not alter the dates in any way. We have to manually set the dates to generate the report.
Additional Informationit looks like we are passing a string instead of an array

line nos. 43-47

    if ($sign > 0) {
        $end_date->addSpan(new Date_Span("$days,0,0,0"));
    } else {
        $start_date->subtractSpan(new Date_Span("$days,0,0,0"));

I changed this to
    if ($sign > 0) {
        $end_date->addSpan(new Date_Span(array($days,0,0,0)));
    } else {
        $start_date->subtractSpan(new Date_Span(array($days,0,0,0)));

and it started to work.

we need to make changes to the code accordingly.
TagsNo tags attached.
Attached Files

2011-08-06 23:13   
Resolved in r2016

Issue History
2011-07-06 05:04w2p_userNew Issue
2011-07-14 23:19caseydkProjectv2.3 Release (Closed) => Pending Requests
2011-07-14 23:19caseydkProjectPending Requests => v2.4 Release (Closed)
2011-07-23 22:47caseydkStatusnew => assigned
2011-07-23 22:47caseydkAssigned To => caseydk
2011-08-06 23:13caseydkNote Added: 0002115
2011-08-06 23:13caseydkStatusassigned => resolved
2011-08-06 23:13caseydkResolutionopen => fixed
2011-08-16 23:38caseydkStatusresolved => closed
2011-08-16 23:38caseydkFixed in Version => 2.4