[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. b61b6f898ae3431dd8c610a32ece9a121caebf0d

Evergreen Git git at git.evergreen-ils.org
Wed Mar 21 11:14:27 EDT 2018


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_3_0 has been updated
       via  b61b6f898ae3431dd8c610a32ece9a121caebf0d (commit)
      from  e285e4baa9fd39f9acb1b5fc722cd3736ec696e9 (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 b61b6f898ae3431dd8c610a32ece9a121caebf0d
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Thu Mar 15 14:58:16 2018 -0700

    LP#1755892: ensure profile is fleshed in patron search
    
    To test
    -------
    [1] Do a catalog search or retrieve a record in the web staff client.
    [2] Click Place Hold.
    [3] On the place hold screen, click Patron Search.
    [4] Search for patrons (e.g. last name = "smith"). In the results grid,
        the Profile column is empty.
    [5] Apply the patch and repeat steps 3 and 4. This time, the Profile
        column should contain the profile name.
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
    Signed-off-by: Bill Erickson <berickxx at gmail.com>

diff --git a/Open-ILS/web/js/ui/default/staff/services/patron_search.js b/Open-ILS/web/js/ui/default/staff/services/patron_search.js
index 07f73be..f19678f 100644
--- a/Open-ILS/web/js/ui/default/staff/services/patron_search.js
+++ b/Open-ILS/web/js/ui/default/staff/services/patron_search.js
@@ -685,6 +685,10 @@ function($scope,  $q,  $routeParams,  $timeout,  $window,  $location,  egCore,
             return $q.when();
         }
 
+        var fleshFields = egUser.defaultFleshFields.slice(0);
+        if (fleshFields.indexOf('profile') == -1)
+            fleshFields.push('profile');
+
         egProgressDialog.open(); // Indeterminate
 
         patronSvc.patrons = [];
@@ -698,7 +702,7 @@ function($scope,  $q,  $routeParams,  $timeout,  $window,  $location,  egCore,
             fullSearch.sort,
             fullSearch.inactive,
             fullSearch.home_ou,
-            egUser.defaultFleshFields,
+            fleshFields,
             fullSearch.offset
 
         ).then(

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

Summary of changes:
 .../js/ui/default/staff/services/patron_search.js  |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list