danmarsden / moodle-mod_dialogue

Dialogue Module for Moodle
27 stars 35 forks source link

Ordering of items based on draft date not sent date #108

Open davefoord opened 2 years ago

davefoord commented 2 years ago

Something that I noticed (well a client noticed), is if a user starts a draft message which they then save, if they then come back and edit that draft and send it. The order that it appears in the list of communications is not based on the date it was sent, but appears to be based on the date that the draft was started. The significance in this case, was the tutor receiving the message, couldn't find it, as it appeared on page 3 of the list of messages, as other students had been conversing with them between the draft being opened, and it being sent. Assuming that I have correctly deduced the cause of this behaviour, could the order that the items appear be changed to be based on the 'sent' date rather than the date the draft was started.

I am using Moodle 3.11.7+ (Build: 20220624)] and Dialogue 3.11.1