You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: