Files
gristlabs_grist-core/app/client/components
Alex Hall 0350e2df58 (core) Fix filtering of empty reflists
Summary:
A formula returning an empty RecordSet in a RefList columns results in storing [] instead of null.
This caused a bug where the empty list was 'flattened' and the cell not appearing in filters at all.
This diff fixes the bug by filtering for the default value `null` instead for RefLists and the empty string for ChoiceLists.
I didn't manage to actually reproduce the bug for ChoiceLists, but this seemed the most sensible thing to do.

Test Plan: New nbrowser test.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3478
2022-06-11 00:16:57 +02:00
..
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-05-25 21:14:49 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2022-04-27 22:21:55 +02:00
2020-10-02 13:24:21 -04:00
2022-04-27 22:21:55 +02:00
2022-04-27 22:21:55 +02:00
2022-04-27 22:21:55 +02:00
2022-02-19 09:46:49 +00:00
2022-05-04 21:41:42 +02:00
2022-04-27 22:21:55 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2022-03-12 13:51:48 +01:00
2022-04-27 22:21:55 +02:00
2022-02-19 09:46:49 +00:00
2020-10-02 13:24:21 -04:00
2022-04-27 22:21:55 +02:00
2020-10-02 13:24:21 -04:00