JBAS-2222 Holdings view defaults to KCLS org
authorBill Erickson <berickxx@gmail.com>
Thu, 14 Mar 2019 20:08:15 +0000 (16:08 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:51:45 +0000 (15:51 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js

index 730bd3f..dcde7ba 100644 (file)
@@ -1145,7 +1145,9 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
     }
 
     // refresh the list of holdings when the filter lib is changed.
-    $scope.holdings_ou = egCore.org.get(egCore.auth.user().ws_ou());
+    //$scope.holdings_ou = egCore.org.get(egCore.auth.user().ws_ou());
+    // KCLS JBAS-2222 default to KCLS
+    $scope.holdings_ou = egCore.org.root();
     $scope.holdings_ou_changed = function(org) {
         $scope.holdings_ou = org;
         holdingsSvcInst.fetch({