merging 9985 to the trunk
This commit is contained in:
parent
8664bd25b4
commit
083678f5b2
1 changed files with 3 additions and 7 deletions
|
@ -87,13 +87,9 @@ class IndividualResponseBuilder {
|
|||
* into the data model: no real data can be modified.
|
||||
*/
|
||||
// body.put("individual", wrap(itm, BeansWrapper.EXPOSE_SAFE));
|
||||
if ( itm.person() ) {
|
||||
body.put("publicationCount", getPublicationCount(itm.getUri(), vreq));
|
||||
body.put("grantCount", getGrantCount(itm.getUri(), vreq));
|
||||
}
|
||||
if ( itm.organization() ) {
|
||||
body.put("peopleCount", getPeopleCount(itm.getUri(), vreq));
|
||||
}
|
||||
body.put("publicationCount", getPublicationCount(itm.getUri(), vreq));
|
||||
body.put("grantCount", getGrantCount(itm.getUri(), vreq));
|
||||
body.put("peopleCount", getPeopleCount(itm.getUri(), vreq));
|
||||
body.put("labelCount", getLabelCount(itm.getUri(), vreq));
|
||||
body.put("individual", wrap(itm, new ReadOnlyBeansWrapper()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue