[rt-devel] Re: RT 3.0.3pre3: Search results for deleted tickets cannot be displayed

Robert Spier rspier at pobox.com
Thu Jun 12 11:11:01 EDT 2003


> I think the following comments in lib/RT/Tickets_Overlay.pm explains it:
>  #Make sure we _never_ show deleted tickets
>  #TODO we should be doing this in the where clause.
>  #but you can't do multiple clauses on the same field just yet :/

I think this is a holdover from RT2.  The RT3 Tickets infrastructure
can support multiple clauses on the same field.  

The way to do it might be to see if Status goes by in
_RestrictionsToClauses -- and if it doesn't, add a Clause which is
essentially Status != deleted.

-R



More information about the Rt-devel mailing list