Commit 6d3d535f authored by Ronan's avatar Ronan

fix(MainDb): order by event_id in getHistoryRange

parent ddb17193
......@@ -2254,6 +2254,7 @@ list<shared_ptr<EventLog>> MainDb::getHistoryRange (
string query = Statements::get(Statements::SelectConferenceEvents, Backend::Sqlite3) + buildSqlEventFilter({
ConferenceCallFilter, ConferenceChatMessageFilter, ConferenceInfoFilter, ConferenceInfoNoDeviceFilter
}, mask, "AND");
query += " ORDER BY event_id DESC";
if (end > 0)
query += " LIMIT " + Utils::toString(end - begin);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment