diff options
Diffstat (limited to 'rt/share/html/SelfService/Elements/MyRequests')
-rwxr-xr-x | rt/share/html/SelfService/Elements/MyRequests | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/rt/share/html/SelfService/Elements/MyRequests b/rt/share/html/SelfService/Elements/MyRequests index 94b6a8853..107240dce 100755 --- a/rt/share/html/SelfService/Elements/MyRequests +++ b/rt/share/html/SelfService/Elements/MyRequests @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -47,19 +47,19 @@ %# 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 |