Page 1 of 1

products 2.19.6 - new sort order issue

Posted: Fri Sep 27, 2013 2:26 pm
by scotch33
Afternoon,

latest versions of all. I am getting an issue with Sort order. The site where I have the issue is http://www.londonrea.com

Two products module calls.

1. the search:

Code: Select all

{Products action="search" searchfield='location' sortorder="asc" }
Result it's ignoring the sort order and showing the products descending

2. the properties page where one can browse

Code: Select all

{Products detailpage="property-details" sortby="created" sortorder="asc" }
Result - taking absolutely no notice of the request and showing stuff alphabetically.

Anybody else getting this - is there a fix to the bug (assuming it must be a bug) anywhere yet?

Re: products 2.19.6 - new sort order issue

Posted: Fri Sep 27, 2013 2:50 pm
by calguy1000
try sortby='create_date'

Re: products 2.19.6 - new sort order issue

Posted: Fri Sep 27, 2013 2:55 pm
by Rolf
Better remove redundant space in the tag, might give problems in Smarty3:
{Products detailpage="property-details" sortby="created" sortorder="asc"_}

Re: products 2.19.6 - new sort order issue

Posted: Tue Oct 01, 2013 7:23 am
by scotch33
sortby='create_date' has sorted out the issue on the property listing, but it doesn't appear to work on the search. On search I am now using
{Products action="search" searchfield='location' sortby="create_date" sortorder="desc"}
Unfortunately the products are still coming without the sorting on them.