[Rt-commit] [rtir] 05/08: Replace deprecated TicketList with CollectionList
Kevin Falcone
falcone at bestpractical.com
Fri Mar 28 17:06:04 EDT 2014
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch master
in repository rtir.
commit 59b169d478b9ddbe116e3e99ed2dcd8b9a9713ce
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Tue Mar 4 14:37:22 2014 -0500
Replace deprecated TicketList with CollectionList
---
html/RTIR/Elements/AttachReports | 2 +-
html/RTIR/Elements/ShowChildren | 2 +-
html/RTIR/Search/Elements/ShowResults | 2 +-
html/RTIR/Tools/Lookup.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/html/RTIR/Elements/AttachReports b/html/RTIR/Elements/AttachReports
index cef22b1..34744fd 100644
--- a/html/RTIR/Elements/AttachReports
+++ b/html/RTIR/Elements/AttachReports
@@ -46,7 +46,7 @@
%#
%# END BPS TAGGED BLOCK }}}
<&| /Widgets/TitleBox, title => loc("Attach Reports") &>
-<& /Elements/TicketList,
+<& /Elements/CollectionList,
Collection => $siblings,
DisplayFormat => "__CheckBox.{$Name}__, $Format",
Format => $Format,
diff --git a/html/RTIR/Elements/ShowChildren b/html/RTIR/Elements/ShowChildren
index 754d1aa..7a66efb 100644
--- a/html/RTIR/Elements/ShowChildren
+++ b/html/RTIR/Elements/ShowChildren
@@ -56,7 +56,7 @@
% if ( $Delete && $children->Count ) {
<i><% loc("Check box to unlink") %></i><br />
% }
-<& /Elements/TicketList,
+<& /Elements/CollectionList,
Collection => $children,
DisplayFormat => ($Delete? "__CheckBox__, $Format": $Format),
Format => $Format,
diff --git a/html/RTIR/Search/Elements/ShowResults b/html/RTIR/Search/Elements/ShowResults
index 0b3035d..565f472 100644
--- a/html/RTIR/Search/Elements/ShowResults
+++ b/html/RTIR/Search/Elements/ShowResults
@@ -60,7 +60,7 @@ $BaseURL .= ( $BaseURL =~ /\?/ )? '&': '?' unless $BaseURL =~ m{[&?]$};
my $collection = RT::Tickets->new( $session{'CurrentUser'} );
$collection->FromSQL( $Query );
-my $result = $m->scomp( '/Elements/TicketList',
+my $result = $m->scomp( '/Elements/CollectionList',
%ARGS,
Collection => $collection,
Query => $Query,
diff --git a/html/RTIR/Tools/Lookup.html b/html/RTIR/Tools/Lookup.html
index 3cd2443..464dcf6 100644
--- a/html/RTIR/Tools/Lookup.html
+++ b/html/RTIR/Tools/Lookup.html
@@ -50,7 +50,7 @@
% if ( $TicketObj ) {
<&| /Widgets/TitleBox, title => loc("Current [_1]: #[_2]", $TicketType, $ticket), class => 'ticket-info-basics' &>
-<& /Elements/TicketList, Query => "id = $ticket", Format => RT->Config->Get('RTIRSearchResultFormats')->{$TicketType . 'Default'}, ShowNavigation => 0 &>
+<& /Elements/CollectionList, Query => "id = $ticket", Format => RT->Config->Get('RTIRSearchResultFormats')->{$TicketType . 'Default'}, ShowNavigation => 0 &>
</&>
% }
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list