[rt-users] rt-4.0.4 add 'resolved' to Quicksearch

Ronald J. Yacketta yacketrj at potsdam.edu
Wed Jan 18 10:22:57 EST 2012


Hello all!

I have been stumbling around trying to display 'resolved' status in 
Quicksearch, so far I have a copy of Quicksearch modified as such

--- Quicksearch 2012-01-17 13:36:47.000000000 -0500
+++ ../../../local/html/Elements/Quicksearch    2012-01-18 
10:20:53.000000000 -0500
@@ -54,12 +54,14 @@
&>
<& $comp,
     queue_filter => sub { $_->CurrentUserHasRight('ShowTicket') && 
!exists $unwanted->{$_->Name} },
+   statuses => \@stats,
&>
</&>
</div>
<%INIT>
  my $unwanted = 
$session{'CurrentUser'}->UserObj->Preferences('QuickSearch', {});
  my $comp = $SplitByLifecycle? '/Elements/QueueSummaryByLifecycle' : 
'/Elements/QueueSummaryByStatus';
+my @stats = qw(new open stalled resolved);
</%INIT>
<%ARGS>
  $SplitByLifecycle => 1

I also tried $SplitByLifecycle => 0

Regards,

Ron




More information about the rt-users mailing list