products 2.19.6 - new sort order issue

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
scotch33
Dev Team Member
Dev Team Member
Posts: 285
Joined: Tue Feb 14, 2006 9:56 pm

products 2.19.6 - new sort order issue

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: products 2.19.6 - new sort order issue

Post by calguy1000 »

try sortby='create_date'
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: products 2.19.6 - new sort order issue

Post by Rolf »

Better remove redundant space in the tag, might give problems in Smarty3:
{Products detailpage="property-details" sortby="created" sortorder="asc"_}
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
scotch33
Dev Team Member
Dev Team Member
Posts: 285
Joined: Tue Feb 14, 2006 9:56 pm

Re: products 2.19.6 - new sort order issue

Post 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.
Post Reply

Return to “Modules/Add-Ons”