X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FClickToShowHistory;h=20225c30b7b1f751195e75e5458c16ca231857b5;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=b570fe683e3f30ab04b0f0ab5c529705ed163ebe;hpb=7588a4ac90a9b07c08a3107cd1107d773be1c991;p=freeside.git diff --git a/rt/share/html/Ticket/Elements/ClickToShowHistory b/rt/share/html/Ticket/Elements/ClickToShowHistory index b570fe683..20225c30b 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-2013 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 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";