Fix pcrud search syntax.
authorJason Stephenson <jason@sigio.com>
Sun, 21 Oct 2018 12:00:01 +0000 (08:00 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 26 Oct 2018 23:04:56 +0000 (19:04 -0400)
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index 698b7b6..03a3205 100644 (file)
@@ -1414,7 +1414,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
 
         function get_status(ids) {
             var deferred = $q.defer()
-            egCore.pcrud.search('ccs', ids)
+            egCore.pcrud.search('ccs', {id: ids})
                 .then(function(resp) {
                     deferred.resolve(resp);
                 }, function(resp) {