TPAC: repair staff client End link for showing last record
authorBill Erickson <berick@esilibrary.com>
Fri, 4 May 2012 16:07:35 +0000 (12:07 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 9 May 2012 14:03:12 +0000 (10:03 -0400)
commit9fb4226e07fa22cf53aabee8c2c11a364bb70f59
treef08021b28e1cd8ed722958e1c34111e1053c695e
parent88a04e578b611c186cb652205ade0423373c761b
TPAC: repair staff client End link for showing last record

In the embedded TPAC, when staff clicks the End link in the record
detail page to jump to the last record in the search results, it now
makes an intermediate jump through search code, which locates the last
record in the set (via CGI param find_last) then redirects to the record
detail page for the last record.  With this approach, we don't have to
pre-fetch the entire set of record IDs just to render the paging links.
Tip o' the hat to Mike R. for the design suggestion.

https://bugs.launchpad.net/evergreen/+bug/984070

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
Open-ILS/src/templates/opac/parts/js.tt2