[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0dccf2a2a7f912d5c0f314819205249cbda247f6
Evergreen Git
git at git.evergreen-ils.org
Fri Mar 3 22:40:13 EST 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, master has been updated
via 0dccf2a2a7f912d5c0f314819205249cbda247f6 (commit)
via 5ddf3636644560aec908afaf017bc04d832eacc4 (commit)
from 7b64bf9f4a035124ce78e86203aa1cf90cd92786 (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 0dccf2a2a7f912d5c0f314819205249cbda247f6
Author: Bill Erickson <berickxx at gmail.com>
Date: Mon Feb 27 14:54:24 2017 -0500
LP#1668351 Patrons with neg. balance dbl-click
Support double-click grid row entry to load patron from the Patrons With
Negative Balances webstaff UI.
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js b/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js
index d8acde1..4169c9b 100644
--- a/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js
+++ b/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js
@@ -47,4 +47,12 @@ function($scope , $q , $timeout , $location , $window , egCore , egGridDataProvi
});
});
}
+
+ $scope.grid_controls = {
+ activateItem : function(selected) {
+ // activateItem returns a single row.
+ $scope.get_user([selected])
+ }
+ }
+
}])
commit 5ddf3636644560aec908afaf017bc04d832eacc4
Author: Bill Erickson <berickxx at gmail.com>
Date: Mon Feb 27 14:41:00 2017 -0500
LP#1668351 Patrons with neg. balance selection repair
Selecting a row in the webstaff Patrons With Negative Balances grid now
only selects that patron, instead of all patrons.
This was the result of the grid not having a correctly set unique
identifier attribute.
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js b/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js
index 43fa878..d8acde1 100644
--- a/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js
+++ b/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js
@@ -20,7 +20,11 @@ function($scope , $q , $timeout , $location , $window , egCore , egGridDataProvi
'open-ils.actor',
'open-ils.actor.users.negative_balance',
egCore.auth.token(), $scope.context_org.id())
- .then(deferred.resolve, null, deferred.notify);
+ .then(deferred.resolve, null, function(blob) {
+ // Give the grid a top-level identifier field
+ blob.usr_id = blob.usr.id();
+ deferred.notify(blob)
+ });
return deferred.promise;
}
-----------------------------------------------------------------------
Summary of changes:
.../staff/admin/local/circ/neg_balance_users.js | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list