[rt-users] Custom Status/Ticket disappears

Mathew Snyder theillien at yahoo.com
Wed Apr 18 00:03:28 EDT 2007


That seems easy enough.  Are there other places where code has to be inserted or
is this the only file?

Mathew

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



More information about the rt-users mailing list