News:

Looking for documentation? Take a look on our wiki

Main Menu

Bug pagination in virtuemart 3.0.4

Started by ermes, February 13, 2015, 18:47:18 PM

Previous topic - Next topic

ermes

Hi developers,
I want to report a bug into pagination system of virtuemart 3.0.4: it's impossible to return to first page into category layout after that you change page.

Below I list the steps I did to the test:
- Installation of Joomla 3.3 / VirtueMart 3.0.4 with AIO (with protostar template)
- Creation of a category (i called it "Shop")
- Creation 34 new products with only prices and added its to category "Shop"
- Add a new main menu item to category "Shop" (item type: "Category Layout")

It's all. Now if you try to navigate into this category, you can't return to page 1.
Can you tell me if you also encountered this problem?

Tnx a lot!

EDIT
with Search Engine Friendly URLs OFF, pagination works!

EDIT 2
i added following line to /components/com_virtuemart/views/category/view.html.php at line 123

if(!JRequest::getVar('limitstart', 0, '', 'int'))JRequest::setVar('limitstart',0);

before line 124

$ids = $productModel->sortSearchListQuery (TRUE, $this->categoryId);

And now works well!! :D

Milbo

The reason is joomla 3.3 and often discussed already. You can use your "fix" but it disables the "remember last category" feature. We did not add a switch, because j3.4 has the fix already.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/