RES: search deleted tickets

1)Change the parameter SkipDeleted to 0 in file local/html/Search/Elements/PickBasics
2)After this, add a instruction in local/lib/RT/Tickets_Overlay_SQL.PM near from line 512:
$self->{‘allow_deleted_search’} = 1;

The routine will look like this:

We don’t want deleted tickets unless ‘allow_deleted_search’ is set

$self->{‘allow_deleted_search’} = 1;
unless( $self->{‘allow_deleted_search’} ) {
$self->SUPER::Limit(FIELD => ‘Status’,
OPERATOR => ‘!=’,
VALUE => ‘deleted’);

These changes work fine here… with RT 3.4.2, ok?!

Rodolfo de Moraes Reis
Diretoria de Soluções de
Inteligência de Negócios
CPqD Telecom & IT Solutions
Tel.: +55 19 3705-5986
Fax: +55 19 3705-6786

-----Mensagem original-----De:
[]Em nome de Andrew
Enviada em: terça-feira, 22 de novembro de 2005 23:14
Assunto: [rt-users] search deleted tickets


Is there any way to search for deleted tickets. No specific criteria, just
the queue name and status = deleted.


Be sure to check out the RT Wiki at

Download a free sample chapter of RT Essentials from O’Reilly Media at

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at