From: Bill Erickson Date: Thu, 3 Nov 2011 19:51:41 +0000 (-0400) Subject: TPac; detail page "Search Results" page correction X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=25c9c433d44ab7261628d435efa80c764a714d99;p=contrib%2FConifer.git 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 Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/src/templates/opac/parts/record/body.tt2 b/Open-ILS/src/templates/opac/parts/record/body.tt2 index 7010b46dcc..bb2fbdaecb 100644 --- a/Open-ILS/src/templates/opac/parts/record/body.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/body.tt2 @@ -8,7 +8,7 @@ [% IF ctx.search_result_index >= 0 %]
- 0}) %]'>[% l('◄ Search Results') %] + [% l('◄ Search Results') %] [% l('Showing Item [_1] of [_2]', ctx.search_result_index + 1, ctx.hit_count) %]