totaldev
totaldev11mo ago

How does AnswerOverflow determine ordering (2 part question)

part 1: how does it determine ordering for the forum/threads on the left sidebar part 2: how does it determine ordering for the messages in each forum/thread? Looking at https://github.com/AnswerOverflow/AnswerOverflow/blob/main/packages/api/src/router/messages/messages.ts#L51, it appears it just follows the ordering of whatever discord gives it, but wanted to verify here.
GitHub
AnswerOverflow/packages/api/src/router/messages/messages.ts at main...
Indexing Discord Help Channel Questions into Google - AnswerOverflow/AnswerOverflow
Solution:
1. Not actually sure I think it's in order they get written to the db, there's no specific order 2. It just orders them as they're sent...
Jump to solution
1 Reply
Solution
Rhys
Rhys11mo ago
1. Not actually sure I think it's in order they get written to the db, there's no specific order 2. It just orders them as they're sent