diff --git a/html/RTIR/Elements/ShowChildren b/html/RTIR/Elements/ShowChildren index 33e80cf7..a76ea443 100644 --- a/html/RTIR/Elements/ShowChildren +++ b/html/RTIR/Elements/ShowChildren @@ -57,6 +57,7 @@ <% loc("Check box to unlink") %>
% } <& /Elements/CollectionList, + %ARGS, Collection => $children, DisplayFormat => ($Delete? "__CheckBox__, $Format": $Format), Format => $Format, @@ -64,6 +65,8 @@ ShowHeader => $ShowHeader, OrderBy => $OrderBy, ShowNavigation => 0, + AllowSorting => $AllowSorting, + PassArguments => $PassArguments, &> % unless( $children->Count ) { % if ( $NoTicketsCaption ) { @@ -114,4 +117,7 @@ $NoTicketsCaption => undef, $ShowHeader => 0 $ShowStatusesSelector => 0 + +$AllowSorting => undef +$PassArguments => undef diff --git a/html/RTIR/Incident/Children/index.html b/html/RTIR/Incident/Children/index.html index f81a9c99..0598e358 100644 --- a/html/RTIR/Incident/Children/index.html +++ b/html/RTIR/Incident/Children/index.html @@ -61,6 +61,7 @@

<% loc('Total [_1]: [_2]([_3])', RT::IR::TicketType(Lifecycle => $Lifecycle) <& /RTIR/Elements/ShowChildren, + %ARGS, Ticket => $Incident, Lifecycle => $Lifecycle, Statuses => [@Statuses], @@ -68,6 +69,8 @@

<% loc('Total [_1]: [_2]([_3])', RT::IR::TicketType(Lifecycle => $Lifecycle) Delete => $delete, ShowHeader => 1, ShowStatusesSelector => 1, + AllowSorting => 1, + PassArguments => [qw(Query Format Rows Page Order OrderBy Queue id SelectedTicekts Statuses)], &> <& /Elements/Submit, Name => 'Unlink', Label => loc('Unlink Report') &>