%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2017 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 ) {
my $Format = RT->Config->Get('DefaultSelfServiceSearchResultFormat');
</%INIT>
<%ARGS>
+$title => undef
$friendly_status => loc('open')
@status => ()
$BaseURL => undef