Bug report (lasttrans anchor)

Hi,

RT 2.0.15
IE 6.0.2800

In ticket history display mode (Display.html) a link from
Dates-Updated- field to #lasttrans anchor is created. But it
doesn’t work. You may click it but nothing happens. It is because target
anchor is in wrong place: it is inserted outside any

tag in table
(check this by adding some text inside my text).

I’ve patched this by passing the LastTrans argument to ShowTransaction
element and placing this anchor just before TicketId anchor tag. See
diff below.

Sergey.

bash-2.05b# diff ShowHistory
…/…/…/…/local/WebRT/html/Ticket/Elements/
24,27c24
< % if ($Transactions->IsLast) {
<
< % }
< <& ShowTransaction, Ticket => $Ticket, Transaction =>
$Transaction, ShowHeaders => $ShowHeaders, Collapsed => $Collapsed,
RowNum => $i &>

      <& ShowTransaction, Ticket => $Ticket, Transaction =>

$Transaction, ShowHeaders => $ShowHeaders, Collapsed => $Collapsed,
RowNum => $i, LastTrans => $Transactions->IsLast &>

bash-2.05b# diff ShowTransaction
…/…/…/…/local/WebRT/html/Ticket/Elements/
2c2
<

&nbsp 
<%$LastTrans?'<A

NAME=“lasttrans”>’:’’|n%>&nbsp 


93a94