[open-ils-commits] [GIT] Evergreen ILS branch master updated. 68ca3854e748f0bcc640cac4f53638ef1c266ca5
Evergreen Git
git at git.evergreen-ils.org
Wed Mar 21 11:13:56 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, master has been updated
via 68ca3854e748f0bcc640cac4f53638ef1c266ca5 (commit)
from 95600c41a94dedea632cecc9d3354b170c09a947 (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 68ca3854e748f0bcc640cac4f53638ef1c266ca5
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