LP#1641708: follow-up - only record hold_id when logging hold placement
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 5 Apr 2017 22:39:14 +0000 (18:39 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 19 Apr 2017 02:25:12 +0000 (22:25 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/services/ui.js

index 6f74605..8a30fca 100644 (file)
@@ -884,6 +884,8 @@ function($window , egStrings) {
             || data.action == 'registered_patron'
             || data.action == 'paid_bill') {
             entry['patron_id'] = data.patron_id;
+        }
+        if (data.action == 'requested_hold') {
             entry['hold_id'] = data.hold_id;
         }
         if (data.action == 'paid_bill') {