X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FElements%2FMySupportQueues;h=6fb505420de1b715becce7e47c6507dbef99ad59;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=5a531f0ae6dcc6750e49a210ea44c475bc3585b6;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Elements/MySupportQueues b/rt/share/html/Elements/MySupportQueues index 5a531f0ae..6fb505420 100644 --- a/rt/share/html/Elements/MySupportQueues +++ b/rt/share/html/Elements/MySupportQueues @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,15 +46,7 @@ %# %# END BPS TAGGED BLOCK }}} <&|/Widgets/TitleBox, title => loc("Queues I'm an AdminCc for"), bodyclass => "" &> -<& /Elements/QueueSummary, - cache => 'my_support_queues', +<& /Elements/QueueSummaryByStatus, queue_filter => sub { $_->IsAdminCc($session{'CurrentUser'}->Id) }, - conditions => \@conditions, &> -<%INIT> -my @conditions = (); -foreach ( RT::Queue->ActiveStatusArray ) { - push @conditions, { cond => "Status = '$_'", name => loc($_) }; -} -