Also fixing relation field config

This commit is contained in:
Ben Bosman
2020-02-14 10:07:10 +01:00
parent 3107a1dee1
commit aaca3a35d1
3 changed files with 3 additions and 3 deletions

View File

@@ -237,7 +237,7 @@ it, please enter the types and the actual numbers or codes.</hint>
<form name="journalVolumeStep">
<row>
<relation-field>
<relationship-type>isVolumeOfJournal</relationship-type>
<relationship-type>isJournalOfVolume</relationship-type>
<search-configuration>periodical</search-configuration>
<filter>creativework.publisher:somepublishername</filter>
<label>Journal</label>

View File

@@ -138,7 +138,7 @@ public class SubmissionFormsControllerIT extends AbstractControllerIntegrationTe
// check the first two rows
.andExpect(jsonPath("$.rows[0].fields", contains(
SubmissionFormFieldMatcher.matchFormClosedRelationshipFieldDefinition("Journal", null,
false,"Select the journal related to this volume.", "isVolumeOfJournal",
false,"Select the journal related to this volume.", "isJournalOfVolume",
"creativework.publisher:somepublishername", "periodical", false))))
;
}

View File

@@ -489,7 +489,7 @@
<form name="journalVolumeStep">
<row>
<relation-field>
<relationship-type>isVolumeOfJournal</relationship-type>
<relationship-type>isJournalOfVolume</relationship-type>
<search-configuration>journal</search-configuration>
<filter>creativework.publisher:somepublishername</filter>
<label>Journal</label>