Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Literature-services
public-projects
xpub-epmc
Commits
0e6e4f12
Commit
0e6e4f12
authored
Sep 21, 2021
by
Audrey Hamelers
Browse files
Merge branch 'dev' into 'master'
#1231 See merge request
!411
parents
d7e70efe
8d8a87ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
scripts/xAuditTriggerWithVersionV3.sql
scripts/xAuditTriggerWithVersionV3.sql
+4
-2
No files found.
scripts/xAuditTriggerWithVersionV3.sql
View file @
0e6e4f12
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment