[open-ils-commits] [GIT] Evergreen ILS branch master updated. 38e1b847ea3c9d4b3ea672baa14bd707bb2380c9
Evergreen Git
git at git.evergreen-ils.org
Thu May 23 15:13:55 EDT 2013
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 38e1b847ea3c9d4b3ea672baa14bd707bb2380c9 (commit)
from 445d8b184e562dcb72f28ce8dcfbded30067e418 (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 38e1b847ea3c9d4b3ea672baa14bd707bb2380c9
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Thu May 23 11:44:05 2013 -0400
Fix Launchpad Bug 1183418.
Clicking on an author with a dash or dates in the name on the search
results page comes up with 0 results. It looks like the dash is stripped
from the date and/or name.
Clicking on such a link from the record view actually works because
the dash is replaced with a space.
This branch changes table.tt2 to replace special characters in author
output with a space in the same way that authors.tt2 does.
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index f77327c..0c0b27c 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -72,7 +72,7 @@ END;
<a title="[% l("Perform an Author Search") %]"
class="record_author" name='item_author'
href="[%-
- authorquery = attrs.author | replace('[#"^$\+\-,\.:;&|\[\]()]', '');
+ authorquery = attrs.author | replace('[#"^$\+\-,\.:;&|\[\]()]', ' ');
mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}, ['page'])
-%]">[% attrs.author | html %]</a>
[%- UNLESS CGI.param('detail_record_view')
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/parts/result/table.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list