Dear all,

performing the following Code:

OperationContext oc = s.createOperationContext();
oc.setMaxItemsPerPage(size);
ItemIterable<QueryResult> results = s.query("SELECT cmis:objectId FROM
cmis:folder WHERE cmis:createdBy="admin" ORDER BY cmis:createdBy ASC",
false, oc);
System.out.println("Total: " + results.getTotalNumItems());

this always prints the same value as size (pagesize - 5) but should
actually give the number of total query results (300+).

Is this a general bug or somehow related to my repository (Alfresco)

thanks

Sebastian

Reply via email to