LP#1775940: Archived Penalties/Messages does not Respect Date Range
authorJason Stephenson <jason@sigio.com>
Wed, 29 Jan 2020 17:33:30 +0000 (12:33 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 22 Jul 2020 17:58:03 +0000 (13:58 -0400)
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.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,