I am trying to apply sorting on the primary key, while getting data is batches its breaking when the data returned from the query entity rule is null.
If sorting based on any other fields its working fine, with or without data
Code used:
a!pagingInfo( startIndex: 1, batchSize: 5, sort: a!sortInfo( field: "agendaItemIdPk", ascending: true() ))
If we get the data we batch size -1 its working fine. Has anyone faced this issue if yes then whats the way around?
Discussion posts and replies are publicly visible
It will be good if you can share your queryentity code .