[rt-users] Simple Search functionality

Jeff Lucas jlucas at eagleinvsys.com
Wed May 27 13:48:43 EDT 2009


I am running 3.8.2 which is installed under /apps/rt-3.8.2.

According to
http://wiki.bestpractical.com/view/SimpleSearchIncludeResolved, I
created...

# cat
/apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery

<%init>
#active is the default: open new stalled
$$query =~ s/\bany\b/new open resolved stalled rejected deleted/i;
#$$query =~ s/\bclosed\b/resolved rejected deleted/i;
</%init>

<%args>
$query => undef
</%args>


Tested it but it did not work.  Restarted httpd and still not working.

Do I have to define something in /apps/rt-3.8.2/etc/RT_SiteConfig.pm so
that RT finds the ModifyQuery file I created?

Thanks.





-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Emmanuel
Lacour
Sent: Tuesday, May 26, 2009 11:10 AM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Simple Search functionality

On Tue, May 26, 2009 at 05:05:26PM +0200, Emmanuel Lacour wrote:
> On Tue, May 26, 2009 at 11:00:07AM -0400, Jerrad Pierce wrote:
> > 
> > On the wiki searching for SimpleSearch returns two of 5 relevant
results.
> >
> 
> And I just fully described how it works here:
> 
> http://wiki.bestpractical.com/view/SimpleSearch
> 

And a FAQ entry with this article as answer.

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

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


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



More information about the rt-users mailing list