[rt-devel] Search for attachment content failing

Robert Spier rspier at pobox.com
Mon Feb 24 23:00:16 EST 2003


Shawn,

    Please try this patch:

--- Tickets_Overlay_SQL.pm      Fri Feb 21 22:37:05 2003
+++ /pkg/rt3/lib/RT/Tickets_Overlay_SQL.pm      Mon Feb 24 19:59:04 2003
@@ -290,6 +290,7 @@
   my ($self,$query) = @_;
 
   $self->CleanSlate;
+  $self->_InitSQL();
 
    return unless $query;
 
-R


Shawn Crosby wrote:
> 
> In /Search/Listing.html in the 'Ticket Attachment' Search criteria with
> 'Content' and 'Matches' selected, if I type in a keyword, it will work once,
> but if I refine the search at all...say add a queue Restriction...it returns 0
> results (even though there are many), and all subsequent searches fail until I
> remove the Attachment search restriction.  If I close the browser window..ie
> start a new session, I can perform the search again, but the same result
> follows.
>  
> S.
> 
> >>> Robert Spier 02/23/03 04:40AM >>>
> Shawn Crosby wrote:
> > When I do a search of attachments in 2-1-75 it returns no
> > results...(except the first time I tried for some reason)...and the
> > apache error log says:
> 
> Shawn-
> 
> Please provide a little more information as to _how_ you did a
> search of attachments? What field did you enter data in?
> 
> -R



More information about the Rt-devel mailing list