[open-ils-commits] [GIT] Evergreen ILS branch master updated. d22291dd0f717f629fd22afce5bdc98269e634dd
Evergreen Git
git at git.evergreen-ils.org
Fri Apr 13 00:23:33 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 d22291dd0f717f629fd22afce5bdc98269e634dd (commit)
from 0796460961b510e385437c89bd4bf0b9a5ea7f77 (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 d22291dd0f717f629fd22afce5bdc98269e634dd
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