Faster T-pac circ history retrieval
authorBill Erickson <berick@esilibrary.com>
Thu, 4 Aug 2011 18:53:36 +0000 (14:53 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 4 Aug 2011 18:53:36 +0000 (14:53 -0400)
commitd42e656a9f0745e1bb77298fd6598faaa6d4bb69
tree12f0617a630c7a4d1e1c70fa3d148185d158848b
parent38a258ee235af3ecd5bd1529263d1533acc08e76
Faster T-pac circ history retrieval

* Take advantage of the new default sorting behavior of
action.usr_visible_circs to perform limit/offset within the DB instead
of fetching the whole circ history in the mod_perl code and sorting
through it.

* Also use the  more powerful/verbose column transform syntax for
calling stored procedures to retrieve only the historical circ IDs
instead of the full circ objects, since we are re-fetching fleshed circ
objects later in the code.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm