Steve Howell
eb1344c41c
list_render: Fix filtering/sorting.
...
This code has always been kind of convoluted
and buggy, starting with the first
sorting-related commit, which put filtering
before sorting for some reason:
3706e2c6ba
This should fix bugs like the fact that
changing filter text would not respect
reversed sorts.
Now the scheme is simple:
- external UI actions set `meta` values like
filter_value, reverse_mode, and
sorting_function, as needed, through
simple setters
- use `hard_redraw` to do a redraw and
trigger external actions
- all filtering/sorting/reverse logic on
the *data* happens in a single, simple
function called `filter_and_sort`
2020-04-15 15:13:26 -07:00
..
2019-11-03 12:42:39 -08:00
2020-02-10 14:08:12 -08:00
2020-02-29 12:19:51 -08:00
2020-03-27 17:25:56 -07:00
2020-03-02 17:45:44 -08:00
2020-02-04 22:13:33 -08:00
2020-02-25 15:37:37 -08:00
2020-04-14 12:50:10 -07:00
2020-02-27 11:10:13 -08:00
2020-02-27 11:10:13 -08:00
2020-02-11 17:43:35 -08:00
2020-04-13 06:22:28 -04:00
2019-11-03 12:42:39 -08:00
2020-02-04 22:13:33 -08:00
2020-02-25 14:09:39 -08:00
2020-03-24 20:40:19 -07:00
2020-04-03 14:51:35 -07:00
2020-02-07 14:09:47 -08:00
2020-02-27 17:41:45 -08:00
2020-04-06 10:57:29 -07:00
2020-02-27 17:20:34 -08:00
2020-03-26 21:35:32 -07:00
2020-02-13 16:37:52 -08:00
2020-02-10 14:08:12 -08:00
2020-02-25 14:09:39 -08:00
2020-02-15 12:20:20 -08:00
2020-02-15 12:20:20 -08:00
2020-02-15 12:20:20 -08:00
2020-02-10 14:08:12 -08:00
2020-04-09 16:11:57 -07:00
2020-04-07 20:54:34 -07:00
2020-04-02 14:44:35 -07:00
2020-02-07 14:09:47 -08:00
2020-04-02 16:57:01 -07:00
2019-11-03 12:42:39 -08:00
2020-03-09 14:07:13 -07:00
2020-04-07 20:58:42 -07:00
2020-04-09 16:11:57 -07:00
2020-04-12 15:02:56 -07:00
2020-04-08 14:43:20 -07:00
2020-02-25 14:43:46 -08:00
2019-11-03 12:42:39 -08:00
2020-02-27 11:19:13 -08:00
2019-11-03 12:42:39 -08:00
2020-02-15 12:20:20 -08:00
2019-11-03 12:42:39 -08:00
2020-04-08 11:55:43 -07:00
2020-02-10 14:08:12 -08:00
2020-02-04 12:22:03 -08:00
2020-02-12 10:39:01 -08:00
2020-02-15 12:20:20 -08:00
2020-03-22 11:29:02 -07:00
2020-02-27 11:14:02 -08:00
2019-10-31 13:47:54 -07:00
2020-04-02 14:32:11 -07:00
2020-02-27 17:20:34 -08:00
2020-02-29 12:19:51 -08:00
2020-03-24 20:41:24 -07:00
2020-03-27 17:25:56 -07:00
2019-11-03 12:42:39 -08:00
2020-01-27 15:36:59 -08:00
2019-11-03 12:42:39 -08:00
2020-02-04 12:22:03 -08:00
2020-04-05 13:06:03 -07:00
2020-04-05 13:13:02 -07:00
2019-11-03 12:42:39 -08:00
2020-04-15 15:13:26 -07:00
2019-11-03 12:42:39 -08:00
2019-11-03 12:42:39 -08:00
2020-02-12 10:39:01 -08:00
2019-11-03 12:42:39 -08:00
2020-02-18 16:13:38 -08:00
2020-04-01 14:01:45 -07:00
2020-04-09 16:45:17 -07:00
2020-04-11 12:00:46 -07:00
2020-03-27 17:25:56 -07:00
2020-02-10 14:08:12 -08:00
2020-02-27 17:20:34 -08:00
2020-03-31 17:56:12 -07:00
2020-04-06 10:57:29 -07:00
2020-02-07 14:09:47 -08:00
2019-11-03 12:42:39 -08:00
2020-04-09 16:11:57 -07:00
2019-11-03 12:42:39 -08:00
2020-02-15 12:20:20 -08:00
2020-02-21 09:53:45 -05:00
2020-02-25 15:37:37 -08:00
2020-03-27 00:17:26 -07:00
2020-04-08 11:25:18 -07:00
2020-03-27 17:25:56 -07:00
2019-10-25 13:51:21 -07:00
2020-04-01 14:40:41 -07:00
2020-03-31 15:12:44 -07:00
2019-11-03 12:42:39 -08:00
2020-04-10 00:48:02 -07:00
2020-03-31 15:30:52 -07:00
2020-03-24 20:40:19 -07:00
2020-02-27 17:20:34 -08:00
2020-02-10 14:08:12 -08:00
2020-02-10 14:08:12 -08:00
2019-11-03 12:42:39 -08:00
2020-02-10 14:08:12 -08:00
2020-02-28 17:11:24 -08:00
2020-04-03 11:44:56 -07:00
2020-03-27 17:25:56 -07:00
2019-09-20 10:34:44 -07:00
2020-04-06 15:36:02 -07:00
2020-04-06 15:36:02 -07:00
2020-02-25 15:37:37 -08:00
2019-11-03 12:42:39 -08:00
2020-02-25 14:09:39 -08:00
2020-02-21 09:53:45 -05:00
2020-04-02 14:44:35 -07:00
2020-04-09 16:11:57 -07:00
2020-03-26 21:35:32 -07:00
2020-02-10 15:57:20 -08:00
2019-11-03 12:42:39 -08:00
2020-04-15 15:13:26 -07:00
2019-11-03 12:42:39 -08:00
2020-02-27 17:20:34 -08:00
2020-02-28 17:11:24 -08:00
2020-02-10 14:08:12 -08:00
2020-02-12 10:39:01 -08:00
2020-02-12 10:39:01 -08:00
2020-04-09 16:03:30 -07:00
2020-02-25 14:09:39 -08:00
2020-04-09 13:24:52 -07:00
2020-03-22 10:55:11 -07:00
2020-04-01 14:40:41 -07:00
2020-03-06 16:34:08 -08:00
2020-02-25 14:43:46 -08:00
2020-04-13 06:22:28 -04:00
2020-04-13 06:22:28 -04:00
2020-04-13 06:22:28 -04:00
2020-04-15 15:13:26 -07:00
2020-01-16 13:23:47 -08:00
2020-04-13 06:22:28 -04:00
2020-04-14 12:50:10 -07:00
2019-11-03 12:42:39 -08:00
2020-02-10 14:08:12 -08:00
2020-02-25 15:37:37 -08:00
2020-04-13 06:22:28 -04:00
2020-02-07 14:09:47 -08:00
2019-11-03 12:42:39 -08:00
2020-02-12 08:16:26 -05:00
2020-04-13 06:22:28 -04:00
2020-04-01 14:40:41 -07:00
2020-02-15 12:20:20 -08:00
2020-02-07 14:09:47 -08:00
2020-02-25 14:09:39 -08:00
2020-03-27 17:25:56 -07:00
2020-04-08 11:37:27 -04:00
2020-04-13 06:22:28 -04:00
2020-04-01 14:40:41 -07:00
2020-04-06 16:19:43 -07:00
2019-11-03 12:42:39 -08:00
2020-01-12 11:27:26 -08:00
2020-02-15 12:20:20 -08:00
2020-03-08 12:42:08 -07:00
2020-02-10 14:08:12 -08:00
2020-04-01 14:01:45 -07:00
2020-02-10 14:08:12 -08:00
2020-04-01 14:01:45 -07:00
2020-02-21 20:01:21 -05:00
2020-02-12 08:16:26 -05:00
2020-04-08 16:01:54 -04:00
2020-02-11 14:14:59 -08:00
2020-02-25 15:37:37 -08:00
2020-02-10 14:08:12 -08:00
2020-02-07 14:09:47 -08:00
2020-04-06 16:19:43 -07:00
2019-11-03 12:42:39 -08:00
2020-04-09 16:11:57 -07:00
2019-03-25 12:11:37 -07:00
2019-10-25 13:51:21 -07:00
2020-02-28 17:11:24 -08:00
2020-02-25 15:37:37 -08:00
2020-02-05 12:04:56 -08:00
2019-11-03 12:42:39 -08:00
2020-04-02 16:57:01 -07:00
2020-02-13 17:50:59 -08:00
2020-03-26 21:35:32 -07:00
2020-02-10 14:08:12 -08:00
2020-02-07 14:09:47 -08:00
2020-03-31 15:30:52 -07:00
2020-04-11 12:00:46 -07:00
2020-04-08 14:42:46 -07:00
2020-04-09 12:38:59 -07:00
2020-02-25 14:09:39 -08:00
2020-02-26 13:14:09 -08:00
2020-03-22 10:55:11 -07:00
2019-11-03 12:42:39 -08:00
2020-03-06 17:13:50 -08:00
2020-02-26 13:14:09 -08:00
2020-04-01 14:01:45 -07:00
2020-02-13 17:50:59 -08:00
2020-02-06 17:24:43 -08:00
2020-04-07 20:54:34 -07:00
2020-02-07 14:09:47 -08:00
2019-11-03 12:42:39 -08:00