@LegendBegins Interesting. You just helped uncover a fundamental bug.
Found it on page 4 of the Casual Roleplay forum:
And this is how it displays in the Free Roleplay forum:
(Thinking out loud) Looking at the code, it sorts topics by:
ORDER BY (t.moved_at OR t.latest_post_at) DESCENDING
But that's wrong. That logic will prevent a moved topic from ever getting bumped to the top.
It should instead be:
ORDER BY MAX(t.moved_at, t.latest_post_at) DESCENDING
That way the forum takes the most recent of the two timestamps.
#willfix - Created an issue:
github.com/danneu/guild/issues/71Apparently this has been broken since I built the move-topic system months ago.