LP#1576435 Inactive patron search propagation rapair user/berick/lp1576435-dupe-patron-search-inactive
authorBill Erickson <berickxx@gmail.com>
Mon, 27 Feb 2017 17:32:45 +0000 (12:32 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 27 Feb 2017 17:32:47 +0000 (12:32 -0500)
Fix a small code thinko in the propagation of the 'inactive' flag
for patron-editor duplicate patron searches.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js

index 87feb3d..bab89d7 100644 (file)
@@ -891,7 +891,7 @@ function($scope,  $q,  $routeParams,  $timeout,  $window,  $location,  egCore,
             $scope.searchArgs[key] = val.value;
         });
         if (propagate_inactive) {
-            $scope.searchArgs[inactive] = propagate_inactive;
+            $scope.searchArgs.inactive = propagate_inactive;
         }
     }