Changes the default for the owning library in the Create Course modal to the logged
in user's workstation org unit instead of the consortium.
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
createNew() {
this.editDialog.mode = 'create';
+ const course_module_course = this.idl.create('acmc');
+ course_module_course.owning_lib(this.auth.user().ws_ou());
this.editDialog.recordId = null;
- this.editDialog.record = null;
+ this.editDialog.record = course_module_course;
this.editDialog.open({size: this.dialog_size}).subscribe(
ok => {
this.createString.current()