[Rt-commit] [rtir] 01/01: Add RT::Tickets class to CollectionList calls
Jim Brandt
jbrandt at bestpractical.com
Mon May 19 14:54:18 EDT 2014
This is an automated email from the git hooks/post-receive script.
jbrandt pushed a commit to branch 3.2/fix-collectionlist-calls
in repository rtir.
commit 2a0cfe520d9375f3ff27fa92011cad53ae2f3240
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu May 8 14:33:16 2014 -0400
Add RT::Tickets class to CollectionList calls
59b169d4 converted the deprecated TicketList call with
CollectionList, however it failed to add the Class parameter
with the value 'RT::Tickets'. This caused failures when
calling CollectionList with a Query but no Collection.
---
html/RTIR/Tools/Lookup.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/html/RTIR/Tools/Lookup.html b/html/RTIR/Tools/Lookup.html
index 464dcf6..b97167b 100644
--- a/html/RTIR/Tools/Lookup.html
+++ b/html/RTIR/Tools/Lookup.html
@@ -50,7 +50,8 @@
% if ( $TicketObj ) {
<&| /Widgets/TitleBox, title => loc("Current [_1]: #[_2]", $TicketType, $ticket), class => 'ticket-info-basics' &>
-<& /Elements/CollectionList, 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,
+ Class => 'RT::Tickets' &>
</&>
% }
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list