]> git.evergreen-ils.org Git - Evergreen.git/commit
Tpac (etc): improve payment history sorting/paging
authorBill Erickson <berick@esilibrary.com>
Tue, 7 Feb 2012 19:40:19 +0000 (14:40 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 20 Mar 2012 16:39:52 +0000 (12:39 -0400)
commit6a1c6b68f9459b6ed87b0f1ceb7573aafc9bc8b7
tree7d493a5c14b4cb87c7cf2957da538ebf8d901784
parent69b708f8647c34c42b375c223de42ef4b72086f7
Tpac (etc): improve payment history sorting/paging

Payments within a transaction will have the same timestamp.  With a
large enough set of such payments, sorting by timestamp alone when
retrieving payments is not enough to guarantee unique pages of payments.
This adds a secondary sort on payment ID as a tie-breaker.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm