home_ou : egCore.org.tree()
};
+ // PINES Customization - default to search inactive
+ $scope.searchArgs.inactive = true;
+
// last used patron search form element
var lastFormElement;
}
$scope.clearForm = function () {
- $scope.searchArgs={};
- if (lastFormElement) lastFormElement.focus();
- }
+ //PINES Customization - instead of resetting fields, refresh page
+ //because this allows us to get the correct field defaults
+ //$scope.searchArgs={};
+ //if (lastFormElement) lastFormElement.focus();
+ $window.location.reload();
+ }
$scope.applyShowExtras = function($event, bool) {
if (bool) {