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

Evergreen Git git at git.evergreen-ils.org
Thu Jun 6 16:51:24 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  fd91f3a20da530e73fa639952576b91575cfc7fe (commit)
      from  8c4192c71b361acd852f04866f8e5936e3d9be42 (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 fd91f3a20da530e73fa639952576b91575cfc7fe
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Thu May 2 15:00:31 2013 -0400

    "Return to record" after submission of phone number on SMS page fixed
    
    Before this, it only worked on the page load *before* form submission.
    There's probably a more elegant solution that doesn't involve keeping
    track of URIs, but this seems to me to work.
    
    Problem relayed to me by Dale Rigney at Equinox, who helped reproduce
    the issue and test a fix.
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/SMS.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/SMS.pm
index bdaaddb..63c0503 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/SMS.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/SMS.pm
@@ -28,7 +28,7 @@ sub load_sms_cn {
     $ctx->{sms_notify} = $cgi->param('sms_notify');
     $ctx->{copy_id} = $cgi->param('copy_id');
     $ctx->{query} = $cgi->param('query');
-    $ctx->{origin} = $cgi->param('origin');
+    $ctx->{origin} = $cgi->param('origin') || $cgi->referer;
 
     my $acn_results = $e->json_query({
         select => {

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list