Hello everyone,
We've came across a pagination problem since we've upgrade Alfresco to v7.2.1.
I'm using the Search API with this body:
{
"query": {
"language": "cmis",
"query": "select * from cmis:document where in_folder('fc896c39-b13b-493a-bdeb-9152d8495dd0')"
},
"fields": ["id"],
"paging": {
"maxItems": 1,
"skipCount": 0
}
}I have 3 files in this directory and the pagination results are wrong, here is the response :
{
"list": {
"pagination": {
"count": 1,
"hasMoreItems": true,
"totalItems": 2,
"skipCount": 0,
"maxItems": 1
},
"entries": [
{
"entry": {
"id": "7149284e-7422-4f55-b16e-63a8cd61fa76"
}
}
]
}
} The fields totalItems says 2 but i have 3 files.
Does somebody ever came across this behavior ?
Thanks.