CMS MADE SIMPLE FORGE

Content Dump Plug-in

 

[#5786] Random sorting

avatar
Created By: Sofia Hauschildt (sonya)
Date Submitted: 2010-12-02 07:58

Assigned To: Nils Haack (nhaack)
Resolution: Accepted
State: Open
Summary:
Random sorting
Detailed Description:
It would be very useful if random sorting was possible. It should work in MySQL
and Postgre http://www.petefreitag.com/item/466.cfm

E.g. for MySQL it could be
case 'random': $sql_sort_param = $sql_sort_param.'rand()'; break;

and for PostGre
case 'random': $sql_sort_param = $sql_sort_param.'random()'; break;

History

Comments
avatar
Date: 2011-06-07 17:01
Posted By: Nils Haack (nhaack)

Will try to consider this for rework (which will also try to keep postgres
differences in mind)
Thanks
      
Updates

Updated: 2011-06-07 17:01
resolution_id: => 6
assigned_to_id: 100 => 8294