Skip to content

Commit bd1b808

Browse files
FrancescoMolinarovins01-4science
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-2510 (pull request DSpace#3858)
[DSC-2510] Configure dc.identifier.issn to trigger submission autosave Approved-by: Andrea Barbasso
2 parents 461c686 + 95a99ef commit bd1b808

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/config/config.util.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ describe('Config Util', () => {
2222
'dc.identifier.isi',
2323
'dcterms.dateSubmitted',
2424
'dc.identifier.applicationnumber',
25-
'dc.type'
25+
'dc.type',
26+
'dc.identifier.issn',
2627
]);
2728

2829
expect(appConfig.themes.length).toEqual(1);

src/config/default-app-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class DefaultAppConfig implements AppConfig {
165165
submission: SubmissionConfig = {
166166
autosave: {
167167
// NOTE: which metadata trigger an autosave
168-
metadata: ['dc.title', 'dc.identifier.doi', 'dc.identifier.pmid', 'dc.identifier.arxiv', 'dc.identifier.patentno', 'dc.identifier.scopus', 'dc.identifier.isi', 'dcterms.dateSubmitted', 'dc.identifier.applicationnumber', 'dc.type'],
168+
metadata: ['dc.title', 'dc.identifier.doi', 'dc.identifier.pmid', 'dc.identifier.arxiv', 'dc.identifier.patentno', 'dc.identifier.scopus', 'dc.identifier.isi', 'dcterms.dateSubmitted', 'dc.identifier.applicationnumber', 'dc.type', 'dc.identifier.issn'],
169169
/**
170170
* NOTE: after how many time (milliseconds) submission is saved automatically
171171
* eg. timer: 5 * (1000 * 60); // 5 minutes

0 commit comments

Comments
 (0)