TPac; detail page "Search Results" page correction user/berick/lp_885854
authorBill Erickson <berick@esilibrary.com>
Thu, 3 Nov 2011 19:51:41 +0000 (15:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 3 Nov 2011 19:51:41 +0000 (15:51 -0400)
commitd1644466868c56d744d0b790802fcfb5fdfa7998
tree07b529d4f2ffec2691fda4414610c88ed24f20db
parenta63abb63756cf5e2df6ca53a856c1179cf97581f
TPac; detail page "Search Results" page correction

On the detail page, when the user selects the "Search Results" link to
return the original search results, return to the correct page in the
search.  The correct page will be the page where the currently viewed
record sits within the search.  Normally, this is the last viewed
results page.  However, if the user does some paging within the detail
page, enough to cross a page boundry, "Search Results" will take them to
the new page (i.e. the page w/ the current record).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/opac/parts/record/body.tt2