From: Galen Charlton Date: Wed, 20 Sep 2017 00:45:20 +0000 (-0400) Subject: LP#1706124: minor tweaks X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4d202fcc96ebdcd58364850d429142c386bd0c8f;p=evergreen%2Fpines.git LP#1706124: minor tweaks - change name of setting to better match local convention - adjust whitespace Signed-off-by: Galen Charlton --- 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) {