[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 009a5fadab63cffb9915d781b68f4514b2844c69

Evergreen Git git at git.evergreen-ils.org
Wed Oct 18 12:14:01 EDT 2017


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_12 has been updated
       via  009a5fadab63cffb9915d781b68f4514b2844c69 (commit)
      from  08d02911341e9ca6a9aa7bd35da459afce169f84 (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 009a5fadab63cffb9915d781b68f4514b2844c69
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Thu Sep 28 13:08:48 2017 -0400

    LP#1714060 -  fixes thinko when obeying patron.password.use_phone setting in patron regctl
    
    There was a bug, an undefined variable was being used to assign the last
    four digits of the day_phone to usr.passwd when this library setting
    was being used.
    
    Signed-off by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
index c54935c..71c84e4 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
@@ -1702,7 +1702,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
                 if ($scope.patron.day_phone && 
                     $scope.patron.isnew && 
                     $scope.org_settings['patron.password.use_phone']) {
-                    $scope.patron.passwd = phone.substr(-4);
+                    $scope.patron.passwd = $scope.patron.day_phone.substr(-4);
                 }
             case 'evening_phone' : 
             case 'other_phone' : 

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

Summary of changes:
 .../web/js/ui/default/staff/circ/patron/regctl.js  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list