mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9156 Tweaks to the calendar listing, to return better empty results where needed, and to include the container noderef too
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -169,7 +169,12 @@ public class GetCalendarEntriesCannedQuery extends AbstractCannedQueryPermission
|
||||
{
|
||||
private CalendarEntryImpl(CalendarEntity entity)
|
||||
{
|
||||
super(entity.getNodeRef(), entity.getName());
|
||||
super(
|
||||
entity.getNodeRef(),
|
||||
// TODO Fetch this from the database layer when querying
|
||||
nodeService.getPrimaryParent(entity.getNodeRef()).getParentRef(),
|
||||
entity.getName()
|
||||
);
|
||||
super.populate(nodeService.getProperties(entity.getNodeRef()));
|
||||
super.setTags(taggingService.getTags(entity.getNodeRef()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user