diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-10-12 13:00:23 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-10-12 13:00:23 -0400 |
commit | 20ddaa48fae25dbb8c09107955b91630e9a311f9 (patch) | |
tree | cd5e6d889bee0143550e96f2a72e590b66ab0841 /src/client/views/FilterPanel.tsx | |
parent | d7575adcb5facc1e527b5e15a7c634aaa28a4831 (diff) | |
parent | 53d456afb43b70cc240bc6a37094fa37cfe37436 (diff) |
Merge branch 'master' into dataViz-annotations
Diffstat (limited to 'src/client/views/FilterPanel.tsx')
-rw-r--r-- | src/client/views/FilterPanel.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/FilterPanel.tsx b/src/client/views/FilterPanel.tsx index 69ceb0f65..0df88f970 100644 --- a/src/client/views/FilterPanel.tsx +++ b/src/client/views/FilterPanel.tsx @@ -5,7 +5,7 @@ import { Handles, Rail, Slider, Ticks, Tracks } from 'react-compound-slider'; import { AiOutlineMinusSquare, AiOutlinePlusSquare } from 'react-icons/ai'; import { CiCircleRemove } from 'react-icons/ci'; import Select from 'react-select'; -import { Doc, DocListCast, Field, StrListCast } from '../../fields/Doc'; +import { Doc, DocListCast, Field, LinkedTo, StrListCast } from '../../fields/Doc'; import { RichTextField } from '../../fields/RichTextField'; import { DocumentOptions, FInfo } from '../documents/Documents'; import { DocumentManager } from '../util/DocumentManager'; @@ -57,7 +57,7 @@ export class FilterPanel extends React.Component<filterProps> { @computed get _allFacets() { // trace(); - const noviceReqFields = ['author', 'tags', 'text', 'type', '-linkedTo']; + const noviceReqFields = ['author', 'tags', 'text', 'type', LinkedTo]; const noviceLayoutFields: string[] = []; //["_layout_curPage"]; const noviceFields = [...noviceReqFields, ...noviceLayoutFields]; |