projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c4f50
)
Add CW MARS AngularJS Customization
author
Jason Stephenson
<jason@sigio.com>
Tue, 23 May 2023 17:32:38 +0000
(13:32 -0400)
committer
Jason 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
patch
|
blob
|
history
Open-ILS/web/js/ui/default/staff/cat/item/app.js
patch
|
blob
|
history
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
patch
|
blob
|
history
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
616eb92
..
3b19ef0
100644
(file)
--- 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 =
2
0;
+var plLimit =
10
0;
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
4869605
..
d3f786e
100644
(file)
--- 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
8f5f5f2
..
52b2537
100644
(file)
--- 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(){