1 parent
61de6b1dac
commit
1236b8a03b
2 files changed
+7
-2
No files matched your search
@@ -224,9 +224,9 @@ std::vector<Database::MucLogLine> Database::get_muc_logs(const std::string& owne
|
||||
}
|
||||
|
||||
if (paging == Database::Paging::first)
|
||||
request.order_by() << Database::Date{} << " ASC, " << Id{} << " ASC ";
|
||||
request.order_by() << Id{} << " ASC ";
|
||||
else
|
||||
request.order_by() << Database::Date{} << " DESC, " << Id{} << " DESC ";
|
||||
request.order_by() << Id{} << " DESC ";
|
||||
|
||||
if (limit >= 0)
|
||||
request.limit() << limit;
|
||||
|
||||
Reference in new issue
Block a user