rt 4.2.16
[freeside.git] / rt / share / html / SelfService / Elements / MyRequests
index 94b6a88..91157b5 100755 (executable)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
 %# END BPS TAGGED BLOCK }}}
 <&| /Widgets/TitleBox, title => $title &>
 <& /Elements/CollectionList, Title   => $title,
-                        Format  => $Format, 
-                        Query   => $Query, 
-                        Order   => @Order, 
-                        OrderBy => @OrderBy,
-                        BaseURL => $BaseURL,
-                        AllowSorting => 1,
-                        Class   => 'RT::Tickets',
-             Rows    => $Rows,
-                        Page    => $Page &>
+  Format  => $Format,
+  Query   => $Query,
+  Order   => @Order,
+  OrderBy => @OrderBy,
+  BaseURL => $BaseURL,
+  AllowSorting => 1,
+  Class   => 'RT::Tickets',
+  Rows    => $Rows,
+  Page    => $Page &>
 </&>
 
 <%INIT>
-my $title = loc("My [_1] tickets", $friendly_status);
+$title ||= loc("My [_1] tickets", $friendly_status);
 my $id = $session{'CurrentUser'}->id;
 my $Query = "( Watcher.id = $id )";
 if ( @status ) {
@@ -69,6 +69,7 @@ if ( @status ) {
 my $Format = RT->Config->Get('DefaultSelfServiceSearchResultFormat');
 </%INIT>
 <%ARGS>
+$title => undef
 $friendly_status => loc('open')
 @status => ()
 $BaseURL => undef