RES: [rt-users] search deleted tickets

Rodolfo de Moraes Reis rmreis at cpqd.com.br
Wed Nov 23 07:57:37 EST 2005


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?!

Cheers,
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
rmreis at cpqd.com.br
www.cpqd.com.br



-----Mensagem original-----
De: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com]Em nome de Andrew
Xenides
Enviada em: terça-feira, 22 de novembro de 2005 23:14
Para: rt-users at lists.bestpractical.com
Assunto: [rt-users] search deleted tickets


Hi,

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

Thanks

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com

WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html



More information about the rt-users mailing list