TPac: Add paging to My Lists user/bshum/tpac-list-paging
authorBob Wicksall <bwicksall@pls-net.org>
Fri, 29 Jun 2012 18:33:22 +0000 (14:33 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 29 Jun 2012 19:40:49 +0000 (15:40 -0400)
commitb9a062b89fe344a4d8baf4de00892e342fd21cf3
treec34141f364ca769ba5195cee05ea3a83ed4afa00
parent4c8a1b71ebd961ebe2a5dffcb1690ea6fb6b281b
TPac: Add paging to My Lists

- Added paging to My Lists based on the code from the Checkout History tab.
- Fixed a bug where adding more than 10 items to the Temporary list failed
- After adding paging renaming a list on page 2+ would fail.  Fixed.
- Redirect after saving a list now leaves you on the same page
- Paging was bleeding between My Lists, Holds History and Circ History.  Fixed.

List contents were also limited to the first 10.  I have upped the limit to 1000 rather than having nested paging.  This should be revisited.

CSV download of lists is still limited to the first 10.  Not sure where to fix this.

Signed-off-by: Bob Wicksall <bwicksall@pls-net.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm
Open-ILS/src/templates/opac/myopac/lists.tt2
Open-ILS/src/templates/opac/parts/myopac/base.tt2