Changes for page Recent Changes
on 2026/12/02 00:12
on 2026/11/28 07:54
Summary
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - RecentChanges1 +$msg.get("xe.recentchanges") - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. superadmin1 +XWiki.Admin - Content
-
... ... @@ -123,26 +123,12 @@ 123 123 #set($discard = $values.addAll(0, $criteria.get($criterion))) 124 124 #end 125 125 #end 126 -#set ($legacyRaw2c943fa57f_1 = $services.query.hql($hqlQuery).bindValues($values).setLimit($rcChangesNb).setOffset(0).execute()) 127 -#set ($legacyVisible2c943fa57f_1 = []) 128 -#foreach ($legacyEntry2c943fa57f_1 in $legacyRaw2c943fa57f_1) 129 - #if ($xwiki.hasAccessLevel('view', $xcontext.user, $legacyEntry2c943fa57f_1)) 130 - #set ($legacyVisibilityDiscard = $legacyVisible2c943fa57f_1.add($legacyEntry2c943fa57f_1)) 131 - #end 132 -#end 133 - #set($rcDocumentNames = $legacyVisible2c943fa57f_1) 126 + #set($rcDocumentNames = $xwiki.searchDocuments($hqlQuery, $rcChangesNb, 0, $values)) 134 134 #else 135 135 ## No query criterion, perform the query as is. 136 -#set ($legacyRaw2c943fa57f_2 = $services.query.hql($hqlQuery).setLimit($rcChangesNb).setOffset(0).execute()) 137 -#set ($legacyVisible2c943fa57f_2 = []) 138 -#foreach ($legacyEntry2c943fa57f_2 in $legacyRaw2c943fa57f_2) 139 - #if ($xwiki.hasAccessLevel('view', $xcontext.user, $legacyEntry2c943fa57f_2)) 140 - #set ($legacyVisibilityDiscard = $legacyVisible2c943fa57f_2.add($legacyEntry2c943fa57f_2)) 129 + #set($rcDocumentNames = $xwiki.searchDocuments($hqlQuery, $rcChangesNb, 0)) 141 141 #end 142 142 #end 143 - #set($rcDocumentNames = $legacyVisible2c943fa57f_2) 144 - #end 145 -#end 146 146 ## 147 147 ## Prepare comments handling 148 148 #set($commentsOrder = false)