Hi Erik,

Sounds like what i'm looking for. Just grabbed from your link, put into test 
and got an error:

error:          Can't use string ("") as a subroutine ref while "strict refs" 
in use at /opt/rt3/local/html/Elements/OwnerSummary line 104.
context:        
...     
100:    $Queues->UnLimit();
101:    @queues = map {
102:    { Name => $_->Name, Description => $_->Description,
103:    id => $_->Id } }
104:    grep $queue_filter->($_), @{$Queues->ItemsArrayRef};
105:    
106:    $session{$cache} = [EMAIL PROTECTED] if $cache;
107:    }
108:    my $Tickets = RT::Tickets->new($session{'CurrentUser'});
...     
code stack:     /opt/rt3/local/html/Elements/OwnerSummary:104
/opt/rt3/share/html/Elements/MyRT:90
/opt/rt3/local/html/index.html:81
/opt/rt3/share/html/autohandler:291
raw error

PS: We have a waiting status too....

Any Ideas? I'm not a perl guru ;-) 


Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), 
Uwe Bielang (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark 
Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: 
Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: 
Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: 
Klaus-Michael Kühne


-----Ursprüngliche Nachricht-----
Von: Peterson, Erik [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 27. März 2008 14:13
An: Ham MI-ID, Torsten Brumm; rt-users@lists.bestpractical.com
Betreff: Re: [rt-users] Quicksearch - But not for Queues, for Users

> From: "Ham MI-ID, Torsten Brumm" <[EMAIL PROTECTED]>
> Subject: [rt-users] Quicksearch - But not for Queues, for Users
>
> I'm looking for a way to create something similar like the quicksearch 
> for queues but for users in this case. I need as result an overview of 
> all users that can own a ticket in a queues and then a list like the 
> quicksearch with the number of tickets per user.
> 
> Has anyone done this already or can point me to the correct direction 
> to start?

Hi Torsten,

I think I have worked out what you're looking for.  I have created two Elements 
that I have in $RT_HOME/local/html/Elements

   1. QuickSearch
   2. OwnerSummary

which serve to replace and expand the Quicksearch sidebar to include ticket 
owners and the number of tickets in each queue. The list of Queues is editable 
and it seems to work well to keep a fairly quick view of the status of tickets 
that are owned.

These Elements work for me, but I haven't done any testing to see if they are 
really bulletproof for everyone. Feel free to use and adapt as you will.
I believe the only site-specific piece in the code is that we have an extra 
status of "waiting" in our RT instance.

You can get the files here:
    http://elementalmarkup.com/ramblings/rt-owner-summary

_Erik


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to