'Sort by' function ( bug?) in a category view 3.0.18.16

Started by MarioP, December 20, 2016, 08:14:58 AM

Previous topic - Next topic

MarioP

Hi

Looks like a bug when it comes to the  'Sort by' function in a category view:
So I'm in the category view:
/domain/en/category/subcategory
I choose the 'sort by name' feature and it takes me to the
/domain/en/by,product_name
instead of sth like (VM 3.0.18):
/domain/en/category/subcategory?orderby=product_name

In VM 3.0.18 I see no such issue.

Please even try the demo of VM  - http://demo.virtuemart.net
Go to: http://demo.virtuemart.net/headpiece , and use "sort by name' feature.
You can see something like: http://demo.virtuemart.net/by,product_name?q=/headpiece

Looks like a bug - the function sorts all the items from the shop instead of the ones from a particular category.

Milbo

Should I fix your bug, please support the VirtueMart project and become a [url=http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail]member[/url]
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

It is strange, I installed the last version on the demo and nothing changes. I also checked the settings and dont see a reason, hmm.
Should I fix your bug, please support the VirtueMart project and become a [url=http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail]member[/url]
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MarioP

Quote from: Milbo on December 21, 2016, 19:30:23 PM
It is strange, I installed the last version on the demo and nothing changes. I also checked the settings and dont see a reason, hmm.
The same for me -  3.0.18.7 doesn't do the trick, the bug is still there.

Milbo

Yeh the point is that it also works on the last version. So one time it works, one time not. Which php version do you have?

and what are your seo settings?
Should I fix your bug, please support the VirtueMart project and become a [url=http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail]member[/url]
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

MarioP

I test it locally.

PHP Version 5.4.25

SEO Settings
Search Engine Friendly URLs:  Yes
Use URL Rewriting: Yes
Adds Suffix to URL: No
Unicode Aliases: No
Include Site Name in Page Titles: No