X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FDashboards%2FQueries.html;h=59457828bb408415a9cc9edb688d0259b373fa2f;hb=5b5eb87bf66f1fac003a13dc2db48e8970c5c986;hp=2b0a73e15218b28c0a4ecfc66244dcf238d7130f;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;p=freeside.git diff --git a/rt/share/html/Dashboards/Queries.html b/rt/share/html/Dashboards/Queries.html index 2b0a73e15..59457828b 100644 --- a/rt/share/html/Dashboards/Queries.html +++ b/rt/share/html/Dashboards/Queries.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -48,8 +48,6 @@ <& /Elements/Header, Title => $title &> <& /Elements/Tabs &> -<& /Widgets/SelectionBox:header, nojs => 1 &> - <& /Elements/ListActions, actions => \@results &> <& Elements/Deleted, searches => \@deleted, Dashboard => $Dashboard &> @@ -65,7 +63,7 @@ <&| /Widgets/TitleBox, title => $pane->{DisplayName} &> % my ( $pane_name ) = $pane->{Name} =~ /Searches-(.+)/; - <& /Widgets/SelectionBox:show, self => $pane, nojs => 1, grep( { + <& /Widgets/SelectionBox:show, self => $pane, grep( { $_->{pane} eq $pane_name} @deleted ) ? ( ShowUpdate => 1 ) : () &> @@ -190,7 +188,7 @@ $m->callback( ); my @panes; -for my $pane (keys %pane_name) { +for my $pane (sort keys %pane_name) { my $sel = $m->comp( '/Widgets/SelectionBox:new', Action => 'Queries.html', @@ -268,7 +266,7 @@ for my $pane (keys %pane_name) { push @panes, $sel; } -$m->comp('/Widgets/SelectionBox:process', %ARGS, self => $_, nojs => 1) +$m->comp('/Widgets/SelectionBox:process', %ARGS, self => $_ ) for @panes; my @hidden_searches = $Dashboard->PossibleHiddenSearches;