diff options
author | bobzel <zzzman@gmail.com> | 2023-04-27 22:56:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-27 22:56:56 -0400 |
commit | c27fcf300d72248e82d722e1b7ded9e0ca07f657 (patch) | |
tree | e6c99b49324c60713b59c65c8963b018f59dc1ec /src/fields/Doc.ts | |
parent | d3dc9938b38e89b2215d13fbc5bc92d33502e818 (diff) | |
parent | 66e5fe4d8c4c6fae768305e31b45735f563b7500 (diff) |
merged with master
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 22d0664ce..93c28cf08 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1395,7 +1395,7 @@ export namespace Doc { return vals.some(v => v.includes(value)); // bcz: arghh: Todo: comparison should be parameterized as exact, or substring } const fieldStr = Field.toString(fieldVal as Field); - return fieldStr.includes(value); // bcz: arghh: Todo: comparison should be parameterized as exact, or substring + return fieldStr.includes(value) || (value === String.fromCharCode(127) + '--undefined--' && fieldVal === undefined); // bcz: arghh: Todo: comparison should be parameterized as exact, or substring } export function deiconifyView(doc: Doc) { |