Page 1 of 1

filter module page 2 error

Posted: 20 Jul 2017, 16:11
by JustinForga
I have a problem with the filter module and I can't find how to resolve this. When we click one filter option it works fine, but going to page 2 within that search it returns to the homepage and shows all items again. Anyone any idea what causes this issue?

Thanks in advance for any help.

Re: filter module page 2 error

Posted: 20 Jul 2017, 16:32
by JustinForga
In addition to the above. I made an error. It is not going back to the homepage, but a link: domain.com/index.php?start=12
Maybe that helps.

Edit
I see now that when I hover my mouse over the page 2 icon it gives me the url domain.com/index.php?start=12
so there is something wrong with my filter module. But can this be a configuration error or is this a bug?

Re: filter module page 2 error

Posted: 25 Jul 2017, 13:04
by Jan
Hi, when you filter, then the url should contain the filter data:
This link I get when I filter two manufacturers of the cars:
http://www.phoca.cz/phocacartdemo/items ... volkswagen

when I switch to pagination, e.g. 5 items on the page and go to second page:
http://www.phoca.cz/phocacartdemo/items ... en&start=5
I still get the manufacturer filter listed in the URL

But of course when I then click to go e.g. to detail page of the product:
http://www.phoca.cz/phocacartdemo/1-sko ... da-octavia

the filtering is then removed. So when I go up, I go to the category, not to the filtered outcomes.

So if the filter variables are missing in url (when e.g. clicking on pagination), first try to disable SEF to see if it works without SEF (disable SEF in Global Configuration of Joomla!)

Jan

Re: filter module page 2 error

Posted: 26 Jul 2017, 02:43
by JustinForga
Hi Jan,

Thanks for the reply. I've disabled SEF but unfortunately that didn't change anything.
Any other suggestions?

Regards,
Justin

EDIT:
Oke this is seriously weird. I have been searching for a while now and I just posted the reply and I thought maybe the pagination has something to do with it. So I deleted the 5,10,15,20,50 after the Pagination (Category, Items View). And now it works again. The numbers are back again and it works but only if I keep SEF turned off and the display select box off. So something is not quite right and I would like to turn the SEF back on, so any other suggestions?

Re: filter module page 2 error

Posted: 27 Jul 2017, 17:34
by Jan
So what is the situation now, does it work without SEF?

What about cache settings? Do you use cache on your site?

Jan