[rt-users] Quick search

Stefan.Rueetschli at securiton.ch Stefan.Rueetschli at securiton.ch
Mon Mar 1 02:51:07 EST 2010


Thanx Stuart,
that works for me.

Stefan

-----Ursprüngliche Nachricht-----
Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Stuart Browne
Gesendet: Montag, 1. März 2010 07:45
An: RT-Users at lists.bestpractical.com
Betreff: Re: [rt-users] Quick search

> -----Original Message-----
> From: Stefan.Rueetschli at securiton.ch
> 
> I'd like to quick-search also on fixed/resolved tickets.
> 
> -----Ursprüngliche Nachricht-----
> Von: Renato S. Yamane
> 
> On start page I can see a Quick Search pannel, but it have only 3 kind
> of status (New, Open and Stalled).
> 
> Is possible add one more status (fixed/resolved)?

The quick search by default searches the @ActiveStatus values.

lib/RT/Search/Googlish.pm: 

163:        push @tql_clauses, join( " OR ", map "Status = '$_'", RT::Queue->ActiveStatusArray());

This doesn't stop you from searching other states, it just means you have to list the state you want to search, i.e.:

	resolved orange button

To search for a resolved ticket with the words 'orange' or 'button' in the subject.

A rough list of what the quick search can search on:

	Fulltext Contet search:		fulltext:string
	Requester email address:	request at email.address
	Ticket Status:			resolved
	Ticket ID:				12345
	Queue name:				'General Support'
	RT ticket owners:			stuart

Stuart
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

---------------------------------------------------------------------------------------------------------
This e-mail is confidential and may contain privileged information. It is intended only for the addressees. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message from your system. 
---------------------------------------------------------------------------------------------------------



More information about the rt-users mailing list