Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{velocity}}
- #set ($filterClause = "1=1 and act.wiki in (?) and not (act.version not like '%.1' and act.type = 'update') and (act.application <> 'MessageStream' or (act.application = 'MessageStream' and (act.type = 'publicMessage' or act.user = ? or (act.type = 'directMessage' and act.param2 = ?) or (act.type = 'groupMessage' and act.param2 in (?,?)))))")
- #set ($filterParameters = ['xwiki', 'xwiki:XWiki.Admin', 'xwiki:XWiki.Admin^XWiki.XWikiUsers', 'xwiki:XWiki.XWikiAdminGroup^XWiki.XWikiGroups', 'xwiki:XWiki.XWikiAllGroup^XWiki.XWikiGroups'])
- #set ($aEntries = 20)
- #set ($results = $xwiki.activitystream.searchDailyPages("$!filterClause", $filterParameters, $aEntries, 0))
- #foreach ($result in $results)
- * (((
- #foreach ($item in $result)
- $item, ##
- #end
- )))
- #end
- {{/velocity}}
Add Comment
Please, Sign In to add comment