mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-28 18:27:08 -04:00
Edg 2286 browsing history of conversations (#92)
* WiP on thread view. * Missing db code. * Fixes in sericeDB, working on listView in threads window. * Changes in thread Db message. * Missing responseTo value bug tracking. * Fixed threads DB getter. * Show threads list. * Added missing code in service-db. * Small fixes. * WiP listView swich page. * Code clean-up. * Code formatted. * PR sugestions applied.
This commit is contained in:
@@ -77,7 +77,7 @@ ThreadsTableRow ThreadsTable::GetByID(uint32_t id) {
|
||||
|
||||
std::vector<ThreadsTableRow> ThreadsTable::GetLimitOffset(uint32_t offset, uint32_t limit) {
|
||||
|
||||
auto retQuery = db->Query("SELECT * from threads ORDER BY date LIMIT %lu OFFSET %lu;",
|
||||
auto retQuery = db->Query("SELECT * from threads ORDER BY date DESC LIMIT %lu OFFSET %lu;",
|
||||
limit,
|
||||
offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user