diff options
author | bobzel <zzzman@gmail.com> | 2023-04-26 10:58:58 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-26 10:58:58 -0400 |
commit | 4846ff09a02cce1da4f0b8984e387d7d204837f1 (patch) | |
tree | 803aa29855b1294c0ec0ba7bd6d70aeecc65ed12 /src/fields/Doc.ts | |
parent | 3dcd97333186fb3294fadc7f3df54df29947a73c (diff) |
fixed filters - checkboxes generated when options are less than 20, added -undefined- as distinct value option. fixed pointer evcents for docs on pdfs
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 b0033b977..0c2ee35fd 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1391,7 +1391,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) { |