Virtuemart version: 2.0.24
Joomla: 2.5.14
Setting product ordering in categories back to default not working.
For instance:
1. BE: select sorting on product-name, product-sku and product-price
2. BE: and the product-name is the default ordering
3. FE: select sorting on product-sku, and then it is not possible to get back to the default ordering, the product-name
I think the bug is in :
administrator/components/com_virtuemart/models/product.php
The bug is somewhere around this piece of code
when omitting the test on $orderbyCfg it works fine, but it is not the final solution.
if ($field == $orderbyCfg) {
$link = JRoute::_ ($fieldLink . $manufacturerTxt,FALSE);
}
else {
$link = JRoute::_ ($fieldLink . $manufacturerTxt . '&orderby=' . $field,FALSE);
}
regards, Joep Winters