Permalink
Browse files

Activity reports updated to respect date on the detail search

  • Loading branch information...
1 parent a3d54c5 commit 6146faba4b51b9d6055547875178c6b574a2992c @obra obra committed Jan 2, 2007
Showing with 2 additions and 2 deletions.
  1. +1 −1 html/Reports/Activity/Elements/ActivityDetail
  2. +1 −1 lib/RT/Extension/ActivityReports.pm
@@ -43,7 +43,7 @@ while (my $ticket = $summary_tickets->Next) {
my $tickets = RT::Tickets->new($session{'CurrentUser'});
-$tickets->FromSQL($query);
+$tickets->FromSQL(join " AND ", map {"($_)"} grep {/\S/} ($query, "Updated >= '$start' AND Updated <= '$end'"));
my @items;
while (my $ticket = $tickets->Next) {
my $txns = $ticket->Transactions;
@@ -1,3 +1,3 @@
package RT::Extension::ActivityReports;
-our $VERSION = '0.8';
+our $VERSION = '0.9';

0 comments on commit 6146fab

Please sign in to comment.