[open-ils-commits] [GIT] Evergreen ILS branch master updated. 481d021010d2f442ff2b18b40f877797c5aaf567

Evergreen Git git at git.evergreen-ils.org
Tue Mar 20 15:58:24 EDT 2012


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  481d021010d2f442ff2b18b40f877797c5aaf567 (commit)
      from  c99f158d66dd7349324b1d327cbf8d1877a3ae6e (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 481d021010d2f442ff2b18b40f877797c5aaf567
Author: Dan Scott <dscott at laurentian.ca>
Date:   Sat Mar 10 11:27:08 2012 -0500

    Propagate search location on "Another Search" link
    
    In commit 27b2037d72b I had intentionally prevented "Another Search" on
    the results page from propagating the current search location, in the
    belief that sites would want to use that as a way of starting a brand
    new search session; after all, both the "Advanced search" and "Search
    toolbar" offer propagation of the current parameters.
    
    However, a number of people including Kathy Lussier and Ben Shum
    indicated that they expected "Another Search" to maintain scope as well,
    so we will propagate state here.
    
    Sites may want to customize this link or the top-left logo link if they
    want to provide a "Start a new search session" option.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/opac/results.tt2 b/Open-ILS/src/templates/opac/results.tt2
index 64c7d1a..875a8d2 100644
--- a/Open-ILS/src/templates/opac/results.tt2
+++ b/Open-ILS/src/templates/opac/results.tt2
@@ -22,7 +22,7 @@
         <div id="results_header_bar">
             <div id="results_header_inner">
                 <div class="results_header_btns">
-                    <a href="[% ctx.opac_root %]/home">[% l('Another Search') %]</a>
+                    <a href="[% mkurl(ctx.opac_root _ '/home') %]">[% l('Another Search') %]</a>
                 </div>
                 <div class="results_header_btns">
                     <a href="[% mkurl(ctx.opac_root _ '/advanced') %]">[% l('Advanced Search') %]</a>

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list