AO

How does AnswerOverflow determine ordering (2 part question)

Ttotaldev12/6/2023
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.
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
GitHub
AnswerOverflow/packages/api/src/router/messages/messages.ts at main...
Indexing Discord Help Channel Questions into Google - AnswerOverflow/AnswerOverflow
Solution
RRhys12/6/2023
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

Looking for more? Join the community!