]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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:02:10 +0000 (10:02 -0400)
commit5eaca7025ae869baf1ce6df026fb212eb13872c6
tree235f0a1a977766511e2bb6358645d1ce7740e56a
parent2c99e49aa500eb6a91574968ab30e5768820bbce
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