Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.3 M1, 2.2.4
-
None
Description
The query is:
#set ($hqlQuery = ", XWikiRCSNodeInfo as ni where doc.id=ni.id.docId and ni.id.version2=1 #if(!$isAdvancedUser)and doc.author != 'superadmin'#end group by doc.space, doc.name order by max(ni.date) desc")
It can be replaced by the less cpu-intensive:
#set ($hqlQuery = "where doc.version like '%.1'#if(!$isAdvancedUser) and doc.author != 'superadmin'#end order by doc.date desc")