Limit the number of pages displayed in search results page pagination
Hello,
I'm not a developer and I hope you guys help me with this.
The number of pages displayed in search results page pagination using the below code equal the number of actual pages, and I need to limit that please.
Hi, the second code is working well on another page that I have, I have tried to do the same thing with the wanted one but it didn't work.
What do you think?
Limit the number of pages displayed in search results page pagination
Hello,
I'm not a developer and I hope you guys help me with this.
The number of pages displayed in search results page pagination using the below code equal the number of actual pages, and I need to limit that please.
Thank you!
I have tried to do something similar to the following but I didn't succeed,
Hi Rayyan
Why isn't this code working?
What is the error?
Thanks,
Alex
Hi, the second code is working well on another page that I have, I have tried to do the same thing with the wanted one but it didn't work. What do you think?
Can you check what is value of "totalPages"?
Alex
I guess not, how to do that?
Add this to your code:
And check the page, it should be rendered.
I don't understand, what the changes that can make? The first code I have displays the whole pages
Hi Rayyan
Did you fix this issue?
Thanks.
Alex
is working on a reply...