From 25c9c433d44ab7261628d435efa80c764a714d99 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 3 Nov 2011 15:51:41 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/record/body.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) %] -- 2.11.0