Tpac (etc): improve payment history sorting/paging user/berick/tpac-payment-improve-sort-granularity
authorBill Erickson <berick@esilibrary.com>
Tue, 7 Feb 2012 19:40:19 +0000 (14:40 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 7 Feb 2012 19:40:19 +0000 (14:40 -0500)
commit3038e2a1f75a49cf29a4544d0eefac2c1d58a441
treeb3a8503ae83620d3dd6d6e2b78e066c786eba65d
parent84bfb1cc1d41d4fd6f3798204049bfdd192394ae
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm