- edit_time() setting changed to affect the course material, not the copy
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
// Edit each IDL thing one at a time
const editOneThing = (item: IdlObject) => {
if (!item) { return; }
+ item.edit_date(new Date().toISOString);
this.showEditDialog(item).then(
() => editOneThing(itemFields.shift()));
updateItem(item: IdlObject, courseLib, callNumber, updatingVolume) {
return new Promise((resolve, reject) => {
this.pcrud.update(item).subscribe(() => {
- item.editor(this.auth.user().id());
- item.edit_time(new Date());
if (updatingVolume) {
const cn = item.call_number();
const callNumberLibrary = this.org.canHaveVolumes(courseLib) ? courseLib.id() : cn.owning_lib();