gristlabs_grist-core/app
Cyprien P 6793377579 (core) Fix values ordering in column filter menu
Summary:
Column filter menu use to mess up the ordering of the items for
numeric and dates values, and also for ref/reflist columns when the
visible column is a numeric a date column.

Solution was to:
 - use the actual value of the visible column for comparison.
 - use native comparison.
 - tweak the native comparison to make blanks appears before valid value. Indeed, it came up several time that it's convenient to have invalid values show up first in the filter panel, it makes for a convenient way to detect them.

Test Plan: Adds new nbrowser test

Reviewers: alexmojaki

Reviewed By: alexmojaki

Differential Revision: https://phab.getgrist.com/D3441
2022-05-24 16:30:28 +02:00
..
client (core) Fix values ordering in column filter menu 2022-05-24 16:30:28 +02:00
common (core) Move guessing logic for column types to run in node once for all columns. 2022-05-19 12:49:51 -04:00
gen-server (core) Polish Access Details 2022-05-19 09:45:26 -07:00
plugin (core) Improving custom widget API. Changing destroy function signature. 2022-05-05 16:34:26 +02:00
server (core) Add GET /attachments endpoint for listing attachment metadata 2022-05-20 20:30:14 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00