Discuss forum messages order not organized as expected in Teak

Hi all! We’re facing the following issue, don’t know if someone has the same problem: in the course discussions tab, we see the messages not organized propertly, or not at least as expected.

Lets say we want all the messages ordered by “recent first”, but the first messages shown are from weeks ago, when there are messages created 3 days ago (see the screenshot below)

Is there ay reason for this behaviour or is it a tutor-forums bug? We are using edx-platform release/teak.3 and tutor@v20.0.5 tutor-forum@20.0.0

Thanks for any help in advance

Regards

PD: this might be related with [Bug] Response sort option is not working · Issue #823 · openedx/frontend-app-discussions

Hi Yago. We are experiencing the same behavior in Ulmo. For us, it started after we migrated to the V2 discussion forums, but we haven’t been able to pinpoint the cause yet.

Peter Pinch

MIT Open Learning

Tagging @aayub - do you have any advice?

It was this way for us as well. If I recall correctly it had something to do with the “pinned” column in the database. It was either 0, 1 or null which caused the sorting to be messed up. Once we defaulted “pinned” to 0, it seemed to fix the issue.

No advice but i’ve informed the team who worked on forum v2.

I’m looking into it and will fix this asap

1 Like