forked from mirrors/linphone-iphone
fix(MainDb): order by event_id in getHistoryRange
This commit is contained in:
parent
ddb1719333
commit
6d3d535fd9
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue