Missing ordering option in mod_virtuemart_category

Started by welrachid, November 30, 2017, 13:30:56 PM

Previous topic - Next topic

welrachid

There is no way of setting an ordering of the categories showed in mod_category
expected place: configuration -> templates -> Shopfront
In code:

modules/mod_virtuemart_category/mod_virtuemart_category.php:40

$categories = $categoryModel->getChildCategoryList($vendorId, $category_id);

changed to

$categories = $categoryModel->getChildCategoryList($vendorId, $category_id,'c.ordering');


So right now i have to make a hack to order things the way i want. Template override is not enough :(
Best regards,
Wel

welrachid

Best regards,
Wel

welrachid

Nobody?
So whats up guys. should i make a hack in the current module, or should i make my own module? i just dont want maintain it afterwards.
Best regards,
Wel