Skip to content

Commit

Permalink
Changed DatasetFieldType.isControlledVocabulary() to return allowCont…
Browse files Browse the repository at this point in the history
…rolledVocabulary instead of looking up complete list of terms to see if it is empty
  • Loading branch information
janvanmansum committed Oct 10, 2023
1 parent 39a2cf5 commit 1c7bc24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public void setDisplayOnCreate(boolean displayOnCreate) {
}

public boolean isControlledVocabulary() {
return controlledVocabularyValues != null && !controlledVocabularyValues.isEmpty();
return allowControlledVocabulary;
}

/**
Expand Down

0 comments on commit 1c7bc24

Please sign in to comment.