1 <&| Elements/Wrapper, %ARGS, title => loc("Activity reports"), show_print_link => 0 &>
10 $query => "Status = 'resolved'"
15 my $then = RT::Date->new($session{'CurrentUser'});
16 $then->Set(Format => 'Unix', Value => time - (86400*7));
17 $ARGS{start} = substr($then->ISO,0,10);
21 my $now = RT::Date->new($session{'CurrentUser'});
23 $ARGS{end} = substr($now->ISO,0,10);
27 $m->redirect($type . ".html?" . $m->comp('/Elements/QueryString', query => $query, start => $start, end => $end));