diff options
author | eperelm2 <emily_perelman@brown.edu> | 2023-07-24 14:46:05 -0400 |
---|---|---|
committer | eperelm2 <emily_perelman@brown.edu> | 2023-07-24 14:46:05 -0400 |
commit | b3c0db8e2d6f29b6b09474b8252760e95f80de95 (patch) | |
tree | 18018bab7a617de295fde4c683d7ed7f8d163a50 /src/fields/Doc.ts | |
parent | 78221fd50b722ab32112d83c0d5cdc0658f2b34f (diff) |
filter- fixed removable and css (collapse bugs)
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 5a8a6e4b6..770a72855 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1437,6 +1437,7 @@ 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: Opt<Doc>, key: string, value: any, modifiers: 'remove' | 'match' | 'check' | 'x' | 'exists' | 'unset', toggle?: boolean, fieldPrefix?: string, append: boolean = true) { + console.log("in setDocFilter: key "+ key + "value " + value) if (!container) return; const filterField = '_' + (fieldPrefix ? fieldPrefix + '_' : '') + 'childFilters'; const childFilters = StrListCast(container[filterField]); |