Commit 0e6e4f12 authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

Merge branch 'dev' into 'master'

#1231

See merge request !411
parents d7e70efe 8d8a87ea
......@@ -135,8 +135,10 @@ BEGIN
audit_row.object_id = NEW.id;
audit_row.manuscript_id = NEW.manuscript_id;
audit_row.manuscript_version = NEW.manuscript_version;
IF (TG_TABLE_NAME::text = 'file' AND NEW.type = 'PMC') THEN
perform audit.populate_manuscript_process_dates(NEW.manucript_id, NEW.manuscript_version, 'tagged');
IF (TG_TABLE_NAME::text = 'file') THEN
IF (NEW.type = 'PMC') THEN
perform audit.populate_manuscript_process_dates(NEW.manucript_id, NEW.manuscript_version, 'tagged');
END IF;
END IF;
END IF;
IF h_changes = hstore('') THEN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment