diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-27 04:18:01 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-27 04:18:01 -0500 |
commit | b2aa0b80843e6e58f737e2937c45351d653255fa (patch) | |
tree | 371841d20f5eefbf955d03e1df5e1ff7262f737c /src/new_fields/Doc.ts | |
parent | 0d263dba422a96c5d22f29a9b6411ff074c92645 (diff) |
pivot field box and proper AND/OR behavior of facets
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r-- | src/new_fields/Doc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts index cc146a121..41a9dddf2 100644 --- a/src/new_fields/Doc.ts +++ b/src/new_fields/Doc.ts @@ -761,7 +761,7 @@ export namespace Doc { return vals.some(v => v === value); } const fieldStr = Field.toString(fieldVal as Field); - return fieldStr == value; + return fieldStr === value; } } @@ -791,7 +791,7 @@ Scripting.addGlobal(function setDocFilter(container: Doc, key: string, value: an } if (modifiers !== undefined) { docFilters.push(key); - docFilters.push(value) + docFilters.push(value); docFilters.push(modifiers); container._docFilter = new List<string>(docFilters); } |