Bug 14687: Patron's transaction history changes items' order after paying fines.
Sorts Patron's accounting data consistently from newest to oldest. It doesn't depend on anymore to timestamp (which can be same for multiple entries) from database but instead uses accountline's id to sort. Signed-off-by: Liz Rea <liz@catalyst.net.nz> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
384dceeef5
commit
307fe0ac53
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ sub GetMemberAccountRecords {
|
|||
SELECT *
|
||||
FROM accountlines
|
||||
WHERE borrowernumber=?);
|
||||
$strsth.=" ORDER BY date desc,timestamp DESC";
|
||||
$strsth.=" ORDER BY accountlines_id desc";
|
||||
my $sth= $dbh->prepare( $strsth );
|
||||
$sth->execute( $borrowernumber );
|
||||
|
||||
|
|
Loading…
Reference in a new issue