[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 0af98c7ca5b53512e75e1f488be681b8383aca3f

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, rel_2_3 has been updated
       via  0af98c7ca5b53512e75e1f488be681b8383aca3f (commit)
      from  d5fb7c530a7181c35dee992779d602d4d29a9e22 (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 0af98c7ca5b53512e75e1f488be681b8383aca3f
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 368a7f5..8525377 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -59,7 +59,7 @@
                                                         <em><a title="[% l("Perform an Author Search") %]"
                                                                 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></em>
                                                                     [%- 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