diff options
| author | bob <bcz@cs.brown.edu> | 2020-02-06 15:37:58 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-02-06 15:37:58 -0500 |
| commit | 696d8c769424e4c5ff85147ecd60571a254527fd (patch) | |
| tree | 90953a59d7057926c5887157f58c7caa323aeab8 /src/client/views/collections/CollectionTimeView.tsx | |
| parent | 045233f2a8b8e79e6a3255ed594218929db1b042 (diff) | |
fixed indexing bug in pivot drill down
Diffstat (limited to 'src/client/views/collections/CollectionTimeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTimeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTimeView.tsx b/src/client/views/collections/CollectionTimeView.tsx index c0e18714e..fb36a1b0c 100644 --- a/src/client/views/collections/CollectionTimeView.tsx +++ b/src/client/views/collections/CollectionTimeView.tsx @@ -308,7 +308,7 @@ export class CollectionTimeView extends CollectionSubView(doc => doc) { } Scripting.addGlobal(function pivotColumnClick(pivotDoc: Doc, bounds: ViewDefBounds) { - console.log("filter down to key: " + pivotDoc._pivotField + " val:" + bounds.payload); + pivotDoc._docFilter = new List(); (bounds.payload as string[]).map(filterVal => Doc.setDocFilter(pivotDoc, StrCast(pivotDoc._pivotField), filterVal, "check")); });
\ No newline at end of file |
