From: Jason Stephenson Date: Tue, 23 May 2023 17:32:38 +0000 (-0400) Subject: Add CW MARS AngularJS Customization X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d6aa59291e18d5ccd7e2a2d65e8d0a399fff7299;p=working%2FEvergreen.git Add CW MARS AngularJS Customization --- diff --git a/Open-ILS/web/js/ui/default/acq/picklist/view.js b/Open-ILS/web/js/ui/default/acq/picklist/view.js index 616eb92ba6..3b19ef04fb 100644 --- a/Open-ILS/web/js/ui/default/acq/picklist/view.js +++ b/Open-ILS/web/js/ui/default/acq/picklist/view.js @@ -7,7 +7,7 @@ dojo.require('dijit.layout.ContentPane'); var plist; var plOffset = 0; -var plLimit = 20; +var plLimit = 100; var liTable; diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index 4869605bf2..d3f786e572 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -1088,8 +1088,7 @@ console.debug($scope.copy_alert_count); 'usr', 'workstation', 'checkin_workstation', - 'recurring_fine_rule', - 'circ_staff' + 'recurring_fine_rule' ], au : ['card'] }, diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index 8f5f5f297c..52b2537ef6 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -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(){