[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0db5e112ffda7099c3209d33d12bc2a42153a4f0

Evergreen Git git at git.evergreen-ils.org
Thu Oct 6 11:51:25 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  0db5e112ffda7099c3209d33d12bc2a42153a4f0 (commit)
      from  2c4841f00487b0653f69fa2fa7f7917353a1e6a5 (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 0db5e112ffda7099c3209d33d12bc2a42153a4f0
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Oct 6 11:42:54 2011 -0400

    TPac: My List add/remove page anchor fix
    
    Removed /g modifier from URL anchor regex to prevent URLs with multiple
    page #-anchors.  This change primarily affects IE which includes #-anchors
    in the referer header.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm
index a80549f..b1ebf4a 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm
@@ -128,7 +128,7 @@ sub mylist_action_redirect {
         # on the results page, we want to redirect 
         # back to record that was affected
         $url = $self->ctx->{referer};
-        $url =~ s/#.*|$/#$anchor/g;
+        $url =~ s/#.*|$/#$anchor/;
     } 
 
     return $self->generic_redirect(

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

Summary of changes:
 .../lib/OpenILS/WWW/EGCatLoader/Container.pm       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list