[open-ils-commits] [GIT] Evergreen ILS branch master updated. 004d23837442fc5410ecf823342d4837f0f8c69b

Evergreen Git git at git.evergreen-ils.org
Thu Oct 6 16:37:04 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  004d23837442fc5410ecf823342d4837f0f8c69b (commit)
      from  ee0b0144f2b2818d67752323ff1d2f52ea4e3cd3 (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 004d23837442fc5410ecf823342d4837f0f8c69b
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Oct 6 16:34:40 2011 -0400

    TPac; start new facet "search" on page 0
    
    When selecting a facet, thereby appending it to the current search,
    start the search over at the first page.  In other words, don't drop
    into page X of a new search, since there may be no page X of the new
    search.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/parts/result/facets.tt2 b/Open-ILS/src/templates/opac/parts/result/facets.tt2
index c5eb9f6..76c335f 100644
--- a/Open-ILS/src/templates/opac/parts/result/facets.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/facets.tt2
@@ -80,7 +80,7 @@ FOR facet_label IN labels.sort;
                     %]
                         <div class="facet_template">
                             <div class="facet">
-                                <a href='[% mkurl('', {facet => selected_facets.merge([param_string])}) %]'>[% display_value %]</a>
+                                <a href='[% mkurl('', {facet => selected_facets.merge([param_string])}, ['page']) %]'>[% display_value %]</a>
                             </div>
                             <div class="count">([% facet_data.count %])</div>
                             <div class="clear">&nbsp;</div>

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

Summary of changes:
 .../src/templates/opac/parts/result/facets.tt2     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list