Multiple Pagination in one view limit not working and giving wrong total record

help

#1

I have to paginate two queries in one view pagination is not working properly
i am following https://book.cakephp.org/3.0/en/controllers/components/pagination.html
pagintion limit is not working giving 10 out of 10 records every time


#2

This should work:

https://book.cakephp.org/3.0/en/controllers/components/pagination.html#paginating-multiple-queries
https://book.cakephp.org/3.0/en/views/helpers/paginator.html#paginator-helper-multiple

Are both queries are using same model ?


#3

i am using this reference, and both the models are different,
i have done this is prior version of cake facing issue in latest


#4

post some code from controller and template