[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. e1c40efe362c7e617eb81fca37f0a1f231ba327e
Evergreen Git
git at git.evergreen-ils.org
Fri Apr 13 00:24:00 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, rel_2_2 has been updated
via e1c40efe362c7e617eb81fca37f0a1f231ba327e (commit)
from 592dc44c00ecea111636f7290264f5cdb5931a26 (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 e1c40efe362c7e617eb81fca37f0a1f231ba327e
Author: Dan Scott <dan at coffeecode.net>
Date: Wed Apr 11 00:08:41 2012 -0400
TPAC: Clear params when viewing lists in search results
Per LP977353, search terms are propagating when the list is being viewed
in "results" (HTML View), and therefore those search terms block the
display of most or all of the items in the list. Therefore, do not
propagate the other CGI params to the mkurl() call.
Signed-off-by: Dan Scott <dan at coffeecode.net>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2
index ffab0b3..c9ee720 100644
--- a/Open-ILS/src/templates/opac/myopac/lists.tt2
+++ b/Open-ILS/src/templates/opac/myopac/lists.tt2
@@ -106,7 +106,11 @@
<div class="bookbag-controls">
[% IF bbag.pub == 't'; %]
<a href='[%-
- mkurl( ctx.opac_root _ '/results', {page => '0', bookbag => bbag.id} )
+ mkurl(
+ ctx.opac_root _ '/results',
+ {page => '0', bookbag => bbag.id, depth => 0, locg => ctx.search_ou},
+ 1
+ )
-%]'>[% l('HTML View') %]</a>
[% END %]
</div>
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/myopac/lists.tt2 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list