Originally Posted by
SarahL
Yes its currently blank already and seems to sort it backwards to normal!
Just looked through the code and there is a place where the "normal" sort order could be reversed, don't know if that is what happened for/to you...
If you only have three files in the includes/index_filters directory, then take a look at default_filter.php
Towards the "bottom" lines 104 and 105 read like this in a vanilla install:
Code:
// $listing_sql .= " order by p.products_sort_order desc, pd.products_name";
$listing_sql .= " order by p.products_sort_order, pd.products_name";
With a comment above that reads:
Code:
// sort by products_sort_order when PRODUCT_LISTING_DEFAULT_SORT_ORDER is left blank
// for reverse, descending order use:
And so perhaps, the first line has been uncommented and the second commented? (swapping of // from the first line to the second)
Bookmarks