Lp 1775940: Archived Penalties/Messages does not Respect Date Range user/dyrcona/lp1775940-watchQuery-fix
authorJason Stephenson <jason@sigio.com>
Wed, 29 Jan 2020 17:33:30 +0000 (12:33 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 29 Jan 2020 17:33:30 +0000 (12:33 -0500)
This patch implements a.bellenir's suggestion of switching from
setQuery to watchQury in the archiveGrid of the web client circulation
patron app.  It does now appear to respect the date range entered by
the user.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js

index a886195..4409cb1 100644 (file)
@@ -775,7 +775,7 @@ function($scope , $q , $routeParams,  egCore , $uibModal , patronSvc , egCirc) {
         setSort : function() {
             return ['set_date'];
         },
-        setQuery : function() {
+        watchQuery : function() {
             return {
                 usr : usr_id, 
                 org_unit : org_ids,