Add CW MARS AngularJS Customization
authorJason Stephenson <jason@sigio.com>
Tue, 23 May 2023 17:32:38 +0000 (13:32 -0400)
committerJason Stephenson <jason@sigio.com>
Tue, 23 May 2023 17:32:38 +0000 (13:32 -0400)
Open-ILS/web/js/ui/default/acq/picklist/view.js
Open-ILS/web/js/ui/default/staff/cat/item/app.js
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js

index 616eb92..3b19ef0 100644 (file)
@@ -7,7 +7,7 @@ dojo.require('dijit.layout.ContentPane');
 
 var plist;
 var plOffset = 0;
-var plLimit = 20;
+var plLimit = 100;
 var liTable;
 
 
index 4869605..d3f786e 100644 (file)
@@ -1088,8 +1088,7 @@ console.debug($scope.copy_alert_count);
                             'usr',
                             'workstation',
                             'checkin_workstation',
-                            'recurring_fine_rule',
-                            'circ_staff'
+                            'recurring_fine_rule'
                         ],
                         au : ['card']
                     },
index 8f5f5f2..52b2537 100644 (file)
@@ -1211,6 +1211,11 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
 
                         if ($scope.record_type == 'bre' && !$scope.brandNewRecord) {
                             $scope.bib_source.id = $scope.bibSource = rec.source(); //$scope.Record().source();
+                        } else if ($scope.record_type == 'bre') {
+                            // CW MARS customization to make local the default for new records.
+                            if (!$scope.Record().source()) {
+                                $scope.bib_source.id = 2;
+                            }
                         }
 
                     }).then(function(){