Created
February 6, 2013 10:00
-
-
Save drakakisgeo/4721560 to your computer and use it in GitHub Desktop.
Virtuemart 2.0.18a: Short Manufacturers by Name ASC in dropdown list @ product listing view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Filter Manufacturers shorting by name ASC | |
FILE : administrator\components\com_virtuemart\models\manufacturer.php | |
LINE: around 103 | |
REPLACE: | |
$query = "SELECT `virtuemart_manufacturer_id` AS `value`, `mf_name` AS text, '' AS disable | |
FROM `#__virtuemart_manufacturers_".VMLANG."`"; | |
WITH THIS: | |
$query = "SELECT `virtuemart_manufacturer_id` AS `value`, `mf_name` AS text, '' AS disable | |
FROM `#__virtuemart_manufacturers_".VMLANG."` ORDER BY mf_name ASC"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment