Page 1 of 1
Search + pagination
Posted: 07 Sep 2024, 17:02
by keep2000
I noticed something regarding the search in Joomla 5 and PC beta66.
When I search for something, I get this URL path: /index.php?option=com_phocacart&view=items&Itemid=101&limitstart=0&search=toy
However, when I use the pagination afterward, I get this: /index.php?option=com_phocacart&view=items&id=0&Itemid=101&limitstart=10
It seems to forget the search parameter, so I get the next batch of all products, not just the filtered ones.
Re: Search + pagination
Posted: 13 Sep 2024, 17:47
by Jan
Hi, which version of Joomla do you use?
This can be related to breaking changes in Joomla - in versions: 5.1.3 and 4.4.7
There are still a lot of problems in Joomla pagination, but try to test the latest Phoca Cart Beta version, there are some new hacks to prevent from these Joomla problems (but still under work, because new patches are added to Joomla because of this problem).
https://github.com/PhocaCz/PhocaCart/re ... Beta70.zip
Different new patches:
https://github.com/joomla/joomla-cms/pull/44023
https://github.com/joomla/joomla-cms/pull/44069
etc.
Re: Search + pagination
Posted: 13 Sep 2024, 19:39
by keep2000
Joomla 5.1.4
I've installed beta70, but nothing changed to me
Re: Search + pagination
Posted: 13 Sep 2024, 20:34
by Jan
Hi, applied both the patches, beta 70 and the search parameter is not lost
Even tested by different users
Jan
Re: Search + pagination
Posted: 20 Sep 2024, 09:10
by Webguy
Hi Jan,
Using
- Joomla: 5.1.4
- Yootheme: 4.4.8
- Phoca: Beta71
Yootheme template for "Phoca cart Category" with elements;
- Phoca Cart Category Module (To have tree structure in categories)
- Phoca Cart Filter Module (For the rest of the filtering like price & tags)
- PC Grid
- Pagination
I'm also running into this issue. I start at;
https://fleev.nl/webshop/woonkamer
Then apply price(prijs), this somehow resets the fact that i'm in 'woonkamer'
https://fleev.nl/webshop/items?price_from=5&price_to=50
Then look at the url's in the pagination, they remember the 'woonkamer'. but don't see the filter.
https://fleev.nl/webshop/woonkamer?start=15
Looking at this it seems the category & filter modules are not sharing their information?
Re: Search + pagination
Posted: 24 Sep 2024, 20:17
by Jan
Hi, there were introduced some problematic router changes in Joomla 5.1.3 (see previous posts)
- try to updated to latest Phoca Cart Beta version
https://github.com/PhocaCz/PhocaCart/re ... Beta75.zip
- and try to appliy these both patches:
https://github.com/joomla/joomla-cms/pull/44023
https://github.com/joomla/joomla-cms/pull/44069
Then there should not be problems with the pagination.
Re: Search + pagination
Posted: 27 Sep 2024, 15:34
by Webguy
Hi Jan,
I've applied the patches but no change. I'll send you the login details in PM so you can see in person.