I am embarrassed to admit it and apologize for wasting your time... as I
was not paying attention to detail (which can get a sysAdmin into
trouble), I misunderstood how this callback worked.

I thought this callback put functionality back to the way SimpleSeach
worked in 3.6.6.  Instead, it "add keywords any and closed to complement
the implicit active."  "any" and "closed" must be specified in the
search.  It works... if you use it correctly. :-)

Again, my apologies and thanks for your help.

-Jeff


-----Original Message-----
From: Jerrad Pierce [mailto:jpie...@cambridgeenergyalliance.org] 
Sent: Wednesday, May 27, 2009 3:42 PM
To: Jeff Lucas
Cc: Emmanuel Lacour; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Simple Search functionality

> Is "stuff" in the following path correct...
>
>
/apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery

It should be, here's mine:
(You can use any name you want for the folder between Callbacks and
Search)

[ceaad...@rt ~]$ cat
/opt/rt3/local/html/Callbacks/Indirection/Search/Simple.html/ModifyQuery
<%init>
$$query =~ s/\bany\b/new open resolved stalled rejected deleted/i;
$$query =~ s/\bclosed\b/resolved rejected deleted/i;
</%init>

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

All I can say is check your server logs, Apache and RT/syslog.

> After restarting Apache...
You don't need to restart it, a graceful HUP will do fine.

-- 
Cambridge Energy Alliance: Save money. Save the planet.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Reply via email to