Files
flipper/desktop
Chaiwat Ekkaewnumchai ee2369950f Sort Result From ID instead of Using Directly from Result
Summary:
As mentioned in [the first comment in the Github issue](https://github.com/facebook/flipper/issues/989#issuecomment-616673590), we were mixing database `id` given from client and `index + 1` on server side. After investigating, most are used correctly; it searches `id` from given database `name`. However, there are a few (if not one) that, in my opinion, was used incorrectly. For example, [`tableOption`](https://fburl.com/diffusion/vlo7xbo1) assumed `id - 1` is the index, which is sometime incorrect.

This diff sorts the database listed from client by `id` before storing in the state.

Changelog: Fixed wrong order assumption on server side

Reviewed By: jknoxville

Differential Revision: D21496345

fbshipit-source-id: 5e15f776356b0357ac14fbde6c2a11efd76cd1e1
2020-05-12 04:54:31 -07:00
..
2020-04-30 06:32:34 -07:00
2020-05-12 01:04:47 -07:00
2020-05-05 08:31:29 -07:00
2020-05-05 08:31:29 -07:00
2020-03-20 13:37:41 -07:00
2020-05-05 08:31:29 -07:00
2020-05-05 08:31:29 -07:00
2020-05-05 08:31:29 -07:00
2020-05-05 08:31:29 -07:00
2020-04-28 15:54:22 -07:00
2020-04-24 06:59:38 -07:00
2020-04-01 02:52:01 -07:00
2020-04-01 02:52:01 -07:00