mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
1c89d08ea3
Summary: Adds some special handling to summary table and lookup logic: - Source rows with empty choicelists/reflists get a corresponding summary row with an empty string/reference when grouping by that column, instead of excluding them from any group - Adds a new `QueryOperation` 'empty' in the client which is used in `LinkingState`, `QuerySet`, and `recursiveMoveToCursorPos` to match empty lists in source tables against falsy values in linked summary tables. - Adds a new parameter `match_empty` to the Python `CONTAINS` function so that regular formulas can implement the same behaviour as summary tables. See https://grist.slack.com/archives/C0234CPPXPA/p1654030490932119 - Uses the new `match_empty` argument in the formula generated for the `group` column when detaching a summary table. Test Plan: Updated and extended Python and nbrowser tests of summary tables grouped by choicelists to test for new behaviour with empty lists. Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3471 |
||
---|---|---|
.. | ||
entities | ||
AppModel.ts | ||
BaseRowModel.js | ||
BillingModel.ts | ||
ClientColumnGetters.ts | ||
ColumnACIndexes.ts | ||
ColumnCache.ts | ||
ColumnFilter.ts | ||
ColumnFilterMenuModel.ts | ||
ColumnToMap.ts | ||
ConnectState.ts | ||
DataRowModel.ts | ||
DataTableModel.js | ||
DataTableModelWithDiff.ts | ||
DocData.ts | ||
DocModel.ts | ||
DocPageModel.ts | ||
errors.ts | ||
gristConfigCache.ts | ||
gristUrlState.ts | ||
HomeModel.ts | ||
MetaRowModel.js | ||
MetaTableModel.js | ||
modelUtil.js | ||
NotifyModel.ts | ||
QuerySet.ts | ||
rowset.ts | ||
rowuid.js | ||
SearchModel.ts | ||
SectionFilter.ts | ||
Styles.ts | ||
TableData.ts | ||
TableModel.js | ||
TreeModel.ts | ||
UserManagerModel.ts | ||
UserPrefs.ts | ||
WorkspaceInfo.ts |