LP#1198465 fine generator billing sort repairs. collab/dbwells/1198465_cstore_fines_gen_rebase
authorBill Erickson <berickxx@gmail.com>
Fri, 20 Feb 2015 20:33:35 +0000 (15:33 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 20 Feb 2015 20:35:54 +0000 (15:35 -0500)
commitcef2b76a65095fd7abacab0da9368b3402892be2
tree9e44a44bd67befa3162f56d39f408b7b110e16bc
parent87da33a6c8fb43a45fc115f97a9a74c28bd13dbd
LP#1198465 fine generator billing sort repairs.

1. cstore expects order_by's to be delineated by object class

2. CStoreEditor requires all params that are passed through to cstore to
be contained within the first parameter to a search_*, etc. calls, so
wrap the query and order_by clauses in an array.

Without these changes, the fine generator would generate duplicate
billings when voided billings were present.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm