Patch for href link to ticket's last transaction

In ticket view, the updated datetime is a link to the last transaction in
history, presumably the newest.

However, if $RT::OldestTransactionsFirst is 0, then it links to the last and
oldest transaction, which makes no sense. IMHO it should link to the first
and newest transaction in this case.

A patch for RT 3.6.6 html/Ticket/Elements/ShowHistory that fixes it is
attached.

Should work in RT 3.8.0 as well.

Eynat

ShowHistory.patch (597 Bytes)