aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-08-10 18:30:44 -0400
committerAndy Rickert <andrew_rickert@brown.edu>2020-08-10 18:30:44 -0400
commitcf45a2398dce7af290bed364fa1bb8681134ce15 (patch)
treeef9bd6f1a210d1273b41308245237b4a40a45578 /src/fields/Doc.ts
parent6b00ff204acbe9d98bb9b6a39c09164afcc18c9e (diff)
filter checkboxes
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r--src/fields/Doc.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts
index 6bfe91378..7769fd337 100644
--- a/src/fields/Doc.ts
+++ b/src/fields/Doc.ts
@@ -1036,6 +1036,8 @@ export namespace Doc {
// all documents with the specified value for the specified key are included/excluded
// based on the modifiers :"check", "x", undefined
export function setDocFilter(container: Doc, key: string, value: any, modifiers?: "match" | "check" | "x" | undefined) {
+ console.log("WE REALLY MADE IT");
+ console.log(container, key, value, modifiers);
const docFilters = Cast(container._docFilters, listSpec("string"), []);
runInAction(() => {
for (let i = 0; i < docFilters.length; i += 3) {