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:
kkleczkowski
2019-11-27 10:09:03 +01:00
committed by GitHub
parent 776bae22da
commit b66ae1fa8b
21 changed files with 517 additions and 114 deletions

View File

@@ -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);