mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
6b241f5286
Always add state.room_id after the configurable ORDER BY. Otherwise, for any sort, certain pages can contain results from other pages. (Especially when sorting by creator, since there may be many rooms by the same creator) * Document different order direction of numerical fields "joined_members", "joined_local_members", "version" and "state_events" are ordered in descending direction by default (dir=f). Added a note in tests to explain the differences in ordering. Signed-off-by: Daniël Sonck <daniel@sonck.nl>
1 line
No EOL
72 B
Text
1 line
No EOL
72 B
Text
Make the list rooms admin api sort stable. Contributed by Daniël Sonck. |