Open the0day opened 3 months ago
Duplicate of #270 ?
Duplicate of #270 ?
I am not sure, but I guess that fix breaks the sorting of conversation list. Before: sorting by last update(last message date) After: sorting by conversation id
My fix keeps the same sorting.
This pull request fixes an SQL error while fetching the conversation list via:
Chat::conversations()->setParticipant($user)->get();
ERROR: SELECT DISTINCT ON expressions must match initial ORDER BY expressions.
Related issues:
269
164