X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSelfService%2FElements%2FMyRequests;h=91157b5ccd8406da36dbd6b4cdec32348096b4e5;hp=b9fdcf17f6265cb7e4c928821fabba2e02dbd292;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e diff --git a/rt/share/html/SelfService/Elements/MyRequests b/rt/share/html/SelfService/Elements/MyRequests index b9fdcf17f..91157b5cc 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-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (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'); <%ARGS> +$title => undef $friendly_status => loc('open') @status => () $BaseURL => undef