X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FElements%2FMySupportQueues;h=bd4067d31e45000fbd253971532c677b23492a3e;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=5a531f0ae6dcc6750e49a210ea44c475bc3585b6;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Elements/MySupportQueues b/rt/share/html/Elements/MySupportQueues index 5a531f0ae..bd4067d31 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-2019 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($_) }; -} -