From 4d202fcc96ebdcd58364850d429142c386bd0c8f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 19 Sep 2017 20:45:20 -0400 Subject: [PATCH] LP#1706124: minor tweaks - change name of setting to better match local convention - adjust whitespace Signed-off-by: Galen Charlton --- .../js/ui/default/staff/services/patron_search.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/services/patron_search.js b/Open-ILS/web/js/ui/default/staff/services/patron_search.js index 78976713eb..758681a7b6 100644 --- a/Open-ILS/web/js/ui/default/staff/services/patron_search.js +++ b/Open-ILS/web/js/ui/default/staff/services/patron_search.js @@ -745,17 +745,17 @@ function($scope, $q, $routeParams, $timeout, $window, $location, egCore, egCore.hatch.getItem('eg.circ.patron.search.show_extras') .then(function(val) {$scope.showExtras = val}); -// check searchArgs.inactive setting - egCore.hatch.getItem('searchArgs.inactive') + // check searchArgs.inactive setting + egCore.hatch.getItem('eg.circ.patron.search.include_inactive') .then(function(searchInactive){ - if (searchInactive) $scope.searchArgs.inactive = searchInactive; - }); + if (searchInactive) $scope.searchArgs.inactive = searchInactive; + }); - $scope.onSearchInactiveChanged = function(){ - egCore.hatch.setItem('searchArgs.inactive', $scope.searchArgs.inactive); + $scope.onSearchInactiveChanged = function() { + egCore.hatch.setItem('eg.circ.patron.search.include_inactive', $scope.searchArgs.inactive); } -// map form arguments into search params + // map form arguments into search params function compileSearch(args) { var search = {}; angular.forEach(args, function(val, key) { -- 2.43.2