[open-ils-commits] [GIT] Evergreen ILS branch master updated. 25c9c433d44ab7261628d435efa80c764a714d99

Evergreen Git git at git.evergreen-ils.org
Fri Nov 4 17:54:18 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  25c9c433d44ab7261628d435efa80c764a714d99 (commit)
      from  920145f106003170406543e94ee4e42c32bd70f5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 25c9c433d44ab7261628d435efa80c764a714d99
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Nov 3 15:51:41 2011 -0400

    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 at esilibrary.com>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/parts/record/body.tt2 b/Open-ILS/src/templates/opac/parts/record/body.tt2
index 7010b46..bb2fbda 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 %]
     <div id="rdetail_header">
         <div style="float:left;">
-            <a href='[% mkurl(ctx.opac_root _ '/results', {page => 0}) %]'>[% l('&#9668; Search Results') %]</a>
+            <a href='[% mkurl(ctx.opac_root _ '/results') %]'>[% l('&#9668; Search Results') %]</a>
             <span id="rdetail_result_count">
                 [% l('Showing Item [_1] of [_2]', ctx.search_result_index + 1, ctx.hit_count) %]
             </span>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/record/body.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list