X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FClickToShowHistory;h=d795ebe4b1853aef0cf413cea282230c70b212f4;hb=9ce482da3960ee43decee41fba53b78c12c3e52c;hp=fafffae5e715c169586f4eb9792a67cc66076a60;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;p=freeside.git diff --git a/rt/share/html/Ticket/Elements/ClickToShowHistory b/rt/share/html/Ticket/Elements/ClickToShowHistory index fafffae5e..d795ebe4b 100644 --- a/rt/share/html/Ticket/Elements/ClickToShowHistory +++ b/rt/share/html/Ticket/Elements/ClickToShowHistory @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,7 +46,7 @@ %# %# END BPS TAGGED BLOCK }}}
- <& /Widgets/TitleBoxStart, title => 'History' &> + <& /Widgets/TitleBoxStart, title => loc('History') &> <% loc('Show ticket history') %> <& /Widgets/TitleBoxEnd &>
@@ -54,7 +54,10 @@ $Ticket <%INIT> -my $id = $Ticket->id; -my $url = RT->Config->Get('WebPath') ."/Helpers/TicketHistory?id=". $id; -my $display = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=$id;ForceShowHistory=1"; +my %params = %ARGS; +delete $params{Ticket}; + +my $query = $m->comp('/Elements/QueryString', %params, id => $Ticket->id ); +my $url = RT->Config->Get('WebPath')."/Helpers/TicketHistory?$query"; +my $display = RT->Config->Get('WebPath')."/Ticket/Display.html?ForceShowHistory=1;$query";