Hello
the function get_full_thread accepts parameter for fetching ordered data from database.
But the GROUP BY clause does not work with ORDER BY in this case.
I was to fetch all threads of user in DESC order with one Latest Message sent to that user.
But I always get the 1st Message of the thread.
For more details check this out
https://github.com/jrmadsen67/Mahana-Messaging-library-for-CodeIgniter/blob/master/application/models/mahana_model.php#L168-L188
It does not sort records on m.cdate
Can some one help me around
Thanks