Skip to content

Commit

Permalink
Make sure vocab init is run for vocabulary returned in /api/submissio…
Browse files Browse the repository at this point in the history
…n/vocabularies
  • Loading branch information
MarieVerdonck committed Feb 22, 2024
1 parent 5a43e6b commit 42437dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ public Choice getChoice(String authKey, String locale) {

@Override
public boolean isHierarchical() {
init();
return true;
}

Expand Down Expand Up @@ -256,6 +257,7 @@ public Choice getParentChoice(String authorityName, String childId, String local

@Override
public Integer getPreloadLevel() {
init();
return preloadLevel;
}

Expand Down

0 comments on commit 42437dd

Please sign in to comment.