VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: MarioP on December 20, 2016, 08:14:58 AM

Title: 'Sort by' function ( bug?) in a category view 3.0.18.16
Post by: MarioP on December 20, 2016, 08:14:58 AM
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.
Title: Re: 'Sort by' function ( bug?) in a category view 3.0.18.16
Post by: Milbo on December 21, 2016, 13:21:47 PM
Please try http://dev.virtuemart.net/attachments/download/1038/com_virtuemart.3.0.18.7_extract_first.zip

I think it is already fixed
Title: Re: 'Sort by' function ( bug?) in a category view 3.0.18.16
Post by: 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.
Title: Re: 'Sort by' function ( bug?) in a category view 3.0.18.16
Post by: MarioP on December 22, 2016, 07:40:10 AM
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.
Title: Re: 'Sort by' function ( bug?) in a category view 3.0.18.16
Post by: Milbo on December 22, 2016, 08:06:50 AM
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?
Title: Re: 'Sort by' function ( bug?) in a category view 3.0.18.16
Post by: MarioP on December 22, 2016, 08:31:15 AM
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