diff options
author | geireann <geireann.lindfield@gmail.com> | 2021-09-12 10:03:00 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2021-09-12 10:03:00 -0400 |
commit | 939c7d092635e47e081aa8f047b73af36058f3b7 (patch) | |
tree | 7b5d4a9dce0c66ce3e2bd62755f536d41db48181 /src/fields/Doc.ts | |
parent | f20dfa857e1651ced1eb2303ea8a8462483fbc4c (diff) | |
parent | d9419c89ccdac7435c87b27a55486b7a5980ae29 (diff) |
Merge branch 'menu_updates_geireann' of https://github.com/brown-dash/Dash-Web into menu_updates_geireann
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 b09ff93d0..4d040f3bc 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1136,7 +1136,7 @@ export namespace Doc { // filters document in a container collection: // 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", toggle?: boolean, fieldSuffix?: string, append: boolean = true) { + export function setDocFilter(container: Opt<Doc>, key: string, value: any, modifiers: "remove" | "match" | "check" | "x" | "exists", toggle?: boolean, fieldSuffix?: string, append: boolean = true) { if (!container) return; const filterField = "_" + (fieldSuffix ? fieldSuffix + "-" : "") + "docFilters"; const docFilters = Cast(container[filterField], listSpec("string"), []); |