Show reviewers name instead of User#toString in Excel export
This commit is contained in:
parent
6d8b87e5f4
commit
76fec94389
@ -167,6 +167,11 @@ public class ProjectDataPanel extends Panel {
|
||||
) {
|
||||
cellItem.add(new ReviewerColumnCell(componentId, rowModel));
|
||||
}
|
||||
|
||||
@Override
|
||||
public IModel<?> getDataModel(IModel<Project> rowModel) {
|
||||
return rowModel.map(Project::getReviewer).map(User::getFullName);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user