Update to person has position history generator to have edit mode retrieved based on position history predicate
This commit is contained in:
parent
71680334f9
commit
a231470f01
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ public class PersonHasPositionHistoryGenerator extends VivoBaseGenerator impleme
|
||||||
|
|
||||||
public EditMode getEditMode(VitroRequest vreq) {
|
public EditMode getEditMode(VitroRequest vreq) {
|
||||||
List<String> predicates = new ArrayList<String>();
|
List<String> predicates = new ArrayList<String>();
|
||||||
predicates.add(trainingAtOrg);
|
predicates.add(positionInOrgPred);
|
||||||
return AddRoleUtils.getEditMode(vreq, predicates);
|
return AddRoleUtils.getEditMode(vreq, predicates);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue