S-48712 added pageSize parameter for queryController and eventStore.js