Skip to content

Commit

Permalink
Merge pull request DSpace#9913 from jlipka/fix/submission-scope-naming
Browse files Browse the repository at this point in the history
Submission scope naming for input field validation fixed
  • Loading branch information
tdonohue authored Dec 18, 2024
2 parents 13517d7 + ec2187e commit dbfa85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dspace-api/src/main/java/org/dspace/app/util/DCInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public class DCInput {
* The scope of the input sets, this restricts hidden metadata fields from
* view by the end user during submission.
*/
public static final String SUBMISSION_SCOPE = "submit";
public static final String SUBMISSION_SCOPE = "submission";

/**
* Class constructor for creating a DCInput object based on the contents of
Expand Down Expand Up @@ -262,7 +262,7 @@ protected void initRegex(String regex) {

/**
* Is this DCInput for display in the given scope? The scope should be
* either "workflow" or "submit", as per the input forms definition. If the
* either "workflow" or "submission", as per the input forms definition. If the
* internal visibility is set to "null" then this will always return true.
*
* @param scope String identifying the scope that this input's visibility
Expand Down

0 comments on commit dbfa85a

Please sign in to comment.