Re: [rt-users] help with ModifyQuery callback

2011-10-13 Thread Izz Abdullah
And you haven't set any permissions on the file...does that matter? -Original Message- From: Izz Abdullah Sent: Thursday, October 13, 2011 10:13 AM To: 'rt-users@lists.bestpractical.com' Subject: RE: [rt-users] help with ModifyQuery callback That's another thing

Re: [rt-users] help with ModifyQuery callback

2011-10-13 Thread Izz Abdullah
l Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Thursday, October 13, 2011 10:03 AM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] help with ModifyQuery callback On Thu, Oct 13, 2011 at 09

Re: [rt-users] help with ModifyQuery callback

2011-10-13 Thread Kevin Falcone
On Thu, Oct 13, 2011 at 09:48:59AM -0500, Izz Abdullah wrote: > Well it doesn't work for me in this callback. If my trivial example does not work for you, then something is fundamentally broken with your RT install. Stop trying to make your changes to the query until you can get my example to r

Re: [rt-users] help with ModifyQuery callback

2011-10-13 Thread Izz Abdullah
which seemed to work for other users) Direction is appreciated. -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Thursday, October 13, 2011 9:25 AM To: rt-users@lists.bestpractical.com Sub

Re: [rt-users] help with ModifyQuery callback

2011-10-13 Thread Kevin Falcone
On Thu, Oct 13, 2011 at 08:40:51AM -0500, Izz Abdullah wrote: > and you didn't have anything to say in this user's request on why it doesn't > do anything either: > http://www.gossamer-threads.com/lists/rt/users/98262 I can't answer every question on the mailing list. That question is also from a

Re: [rt-users] help with ModifyQuery callback

2011-10-13 Thread Izz Abdullah
ehalf Of Kevin Falcone Sent: Wednesday, October 12, 2011 5:38 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] help with ModifyQuery callback On Wed, Oct 12, 2011 at 03:41:58PM -0500, Izz Abdullah wrote: > And I have tried with just $query...I wrote the silly program though >

Re: [rt-users] help with ModifyQuery callback

2011-10-12 Thread Kevin Falcone
On Wed, Oct 12, 2011 at 03:41:58PM -0500, Izz Abdullah wrote: > And I have tried with just $query...I wrote the silly program though and > received what I expected, an error for an undefined variable. If I change > the print line to > print $query; If print $query works, why are you using $$que

Re: [rt-users] help with ModifyQuery callback

2011-10-12 Thread Izz Abdullah
0 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] help with ModifyQuery callback On Wed, Oct 12, 2011 at 02:45:08PM -0500, Izz Abdullah wrote: > $$query = "fulltext:$$query"; #I have also tried $$query = "fulltext:" . > $$query; I don't think this does

Re: [rt-users] help with ModifyQuery callback

2011-10-12 Thread Izz Abdullah
...@lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Wednesday, October 12, 2011 3:10 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] help with ModifyQuery callback On Wed, Oct 12, 2011 at 02:45:08PM -0500, Izz Abdullah wrote: > $$query = "fulltext:$$query"; #I ha

Re: [rt-users] help with ModifyQuery callback

2011-10-12 Thread Izz Abdullah
I appreciate the code, but yes, I have been asked to hard code the fts for simple search. The thing is, simple search is now displayed on privileged users top-bar in RT4.0.2 and it is very easy to just punch something in and search. Of course, management doesn't want to type 'fulltext:' before

Re: [rt-users] help with ModifyQuery callback

2011-10-12 Thread Kevin Falcone
On Wed, Oct 12, 2011 at 02:45:08PM -0500, Izz Abdullah wrote: > $$query = "fulltext:$$query"; #I have also tried $$query = "fulltext:" . > $$query; I don't think this does what you think it does. Try writing a trivial perl program. use strict; use warnings; my $query = "search term"; print $$qu

Re: [rt-users] help with ModifyQuery callback

2011-10-12 Thread Izz Abdullah
am so confused why it's not working, and if the syntax is bad, why am I not at least getting something in the logs From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Izz Abdullah Sent: Friday, October 07, 2011 3:08 PM To: rt-users@lists.bestpractica

Re: [rt-users] help with ModifyQuery callback

2011-10-07 Thread Izz Abdullah
users@lists.bestpractical.com Subject: [rt-users] help with ModifyQuery callback I would appreciate some assistance in forcing FTS in simple searches...so I have written the following, which completely broke the simple search, but you get the idea of what I am trying to do (value of: /opt/rt4/local/html/Callbacks/hi

[rt-users] help with ModifyQuery callback

2011-10-07 Thread Izz Abdullah
I would appreciate some assistance in forcing FTS in simple searches...so I have written the following, which completely broke the simple search, but you get the idea of what I am trying to do (value of: /opt/rt4/local/html/Callbacks/hibbett/Search/Simple.html/ModifyQuery): <%init> my $val = $$q