[rt-users] Modifying Quick Search in RT 3.8.1

Mark D. Nagel mnagel at willingminds.com
Mon Feb 16 15:36:00 EST 2009


Chris Nelson wrote:
> OK. I was able to solve the last problem here as well!
>
> I went to *rt3/share/html/Elements/QueueSummary* and added *OR Status
> = 'staged'* to the following line:
> %   my $all_q = $queue_cond . "(Status = 'open' OR Status = 'new' OR
> Status = 'stalled' OR Status = 'staged')";
>
> I imagine this isn't the best way to do this as it will be overwritten
> if we do any upgrades. Is there a config file I can put this in?

I'd posted a patch for this that was accepted (not sure if it is 3.8.2,
but could be) so all you should have to change us QuickSearch -- the
line above becomes:

my $all_q = $queue_cond . "(" . join(" OR ", map { $_->{cond} }
@$conditions) . ")";

Then, all you need to do is add to the conditions list in QuickSearch.

Regards,
Mark

-- 
Mark D. Nagel, CCIE #3177 <mnagel at willingminds.com>
Principal Consultant, Willing Minds LLC (http://www.willingminds.com)
cell: 949-279-5817, desk: 714-495-4001, fax: 949-623-9854

*** Please send support requests to support at willingminds.com! *** 




More information about the rt-users mailing list