Here is a simple example for quicksearch:<br><div class="ticket-overview"><br><&|/Widgets/TitleBox, title => loc("Quick search"), bodyclass => "",<br> titleright => loc("Edit"), titleright_href => $RT::WebPath.'/Prefs/Quicksearch.html' &>
<br><& /Elements/QueueSummary,<br> cache => 'quick_search_queues',<br> queue_filter => sub { $_->CurrentUserHasRight('ShowTicket') && !exists $unwanted->{$_->Name} },<br> conditions => [ {cond => "Status = 'new'", name => loc ('new') },
<br> {cond => "Status = 'open'", name => loc ('open') },<br> {cond => "Status = 'accepted'", name => loc ('accepted') },<br>
{cond => "Status = 'implement'", name => loc ('implemented') },<br> {cond => "Status = 'approved'", name => loc ('approved') },
<br> {cond => "Status = 'stalled'", name => loc ('stalled') },<br> {cond => "Status = 'pending'", name => loc ('pending') },
<br> {cond => "Status = 'authorized'", name => loc ('authorized') },<br> {cond => "Status = 'resolved'", name => loc ('resolved') }] &>
<br></&><br></div><br><%INIT><br>my $unwanted = $session{'CurrentUser'}->UserObj->Preferences('QuickSearch', {});<br></%INIT><br><br>i had to add my custom status to this file.
<br><br>For the rest like tickets i own and so on, its enough if you go to edit in this module and edit the search string.<br><br>Torsten<br><br><div><span class="gmail_quote">2007/4/18, Mathew Snyder <<a href="mailto:theillien@yahoo.com">
theillien@yahoo.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I used the method in the wiki for adding a custom active status to my
<br>configuration (development box). It shows up fine. However, when I select it,<br>ticket I've applied it to disappears from my list of owned tickets. How can I<br>adjust this to force the ticket to stay available the way stalled does?
<br><br>Thanks<br>Mathew<br>_______________________________________________<br><a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
<br><br>Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br>Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br><br><br>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
<br>Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>MFG<br><br>Torsten Brumm<br><br><a href="http://www.torsten-brumm.de">http://www.torsten-brumm.de
</a>