Skip to content

Commit 7cbd4ba

Browse files
committed
whoops, #11301 was not fully reverted, fixed now #11698
With the wrong line, the "host dataverse" field wasn't working at all!
1 parent c28ccf7 commit 7cbd4ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/edu/harvard/iq/dataverse/DataverseConverter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public class DataverseConverter implements Converter {
2525

2626
@Override
2727
public Object getAsObject(FacesContext facesContext, UIComponent component, String submittedValue) {
28-
return dataverseService.findByAlias(submittedValue);
28+
return dataverseService.find(new Long(submittedValue));
29+
//return dataverseService.findByAlias(submittedValue);
2930
}
3031

3132
@Override

0 commit comments

Comments
 (0)