Jump to content

[bug] pagination doesn't work properlly


Recommended Posts

Hello guys !

 

Before start, I'd like to say that's my first topic, and I'm kind of new about prestashop's systema. Also, forgive my poor english !

I really don't believe this silly error would a prestashop's bug. Its so basic one.

 

I got a website to finish and fix some bugs left by the last programmer . http://www.thinknerd.com.br (in portuguese).

 

I've faced a problem in the pagination.

 

1 - categorys: doesn'work !

When I click in a category page, the pagination works, but, I cannot go to other page by click on pagination's menu. Also works if i change the 'items per page'.

reference: http://www.thinknerd.com.br/2-action-figures

 

2 - search: not working properlly.

If I search a therm (i've used 'marvel' in the tests), by the page's search field, the pagination will work (almost) fine. But, for example...

 

If I got 30 results in a search, showing 15 per page, ... then, I go to the second page, and then, If I change the 'items per page' to 30 I'll get an error. In the url's bar, keep showing up the parameter 'p=2' but now, with 30 items per page, the page #2 doesn'exists ...

 

like, the url is: search?orderby=position&orderway=desc&search_query=marvel&p=2

and after change the 'itens per page' to 30, the url will be:

search?search_query=marvel&n=30&orderby=position&orderway=desc&p=2

 

references:

http://www.thinknerd.com.br/search?orderby=position&orderway=desc&search_query=marvel

 

 

 

Details:

 

Ive changed the default 'itens per page' from 10 to 15 ...

I also changed the avaliables 'itens per page' array to 15, 30 and 60, instead the original 10, 20 and 50 ( before this change the pagination was not working at all)

 

Please, any direction how can I solve this issue ?!?!?

 

Once again, I really don't believe this silly error would a prestashop's bug. Its so basic one.

 

anyway,

 

I will be glad to get some help !!!

 

many thanks !

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...