You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Talk team reached out because they were missing events in our search responses. The issue is also reproducible with the calendar widget.
The query to find events is ordered by the id column. Without an ORDER BY clause, the same query may return different results depending on how the SQL server works. To ensure more reproducible results, an ORDER BY clause was added some time ago.
Removing the ORDER BY "id" clause does not resolve the problem because the order is then still up to the SQL server and only by chance in the correct order.
Using firstoccurrence to order works, but we should add an index on it.
Bug description
The Talk team reached out because they were missing events in our search responses. The issue is also reproducible with the calendar widget.
The query to find events is ordered by the id column. Without an ORDER BY clause, the same query may return different results depending on how the SQL server works. To ensure more reproducible results, an ORDER BY clause was added some time ago.
Steps to reproduce
Expected Order:
8-1-2-3-4-5-6-7
Actual Order:
1-2-3-4-5-6-7-8
Additional info
Possible bug reports