Jump to content
Sign in to follow this  
PeterD

Custom Where "Dates" didn´t sort

Recommended Posts

Use in Listing menu "Field.jr_eventdate >= DATE(NOW())" but didn´t get the right sorting from dates from today to future. If I change the date it´s sorting by ID

Share this post


Link to post

Custom Where is not for sorting, it's for filtering. If you want to also sort, then you have to use Custom Order: Field.jr_eventdate ASC

There's an easier way to do this using Custom Params which already give you the option "future" to show the future listings ordered with those coming first. It's in the documentation and you can just use jr_eventdate=future in the custom params setting. 

Share this post


Link to post
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.