diff options
author | bob <bcz@cs.brown.edu> | 2020-01-22 18:38:07 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-01-22 18:38:07 -0500 |
commit | 162cea3ee2167a6d999b99630c33edb3779c7bcc (patch) | |
tree | ab5bf22127892436bfef1b0064b6aba96f88bb58 /src/client | |
parent | 3d11941ebaac312bc72186af05f0a7969a39d7be (diff) |
added an exclude list of field keys when a document is copied
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/views/collections/CollectionPivotView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPivotView.tsx b/src/client/views/collections/CollectionPivotView.tsx index aa68cc18f..43a302af7 100644 --- a/src/client/views/collections/CollectionPivotView.tsx +++ b/src/client/views/collections/CollectionPivotView.tsx @@ -28,7 +28,7 @@ export class CollectionPivotView extends CollectionSubView(doc => doc) { if (!this.props.Document.facetCollection) { const facetCollection = Docs.Create.TreeDocument([], { title: "facetFilters", yMargin: 0, treeViewHideTitle: true }); facetCollection.target = this.props.Document; - facetCollection.dontCopyOnAlias = true; + this.props.Document.excludeFields = new List<string>(["facetCollection", "docFilter", "viewSpecScript"]); const scriptText = "setDocFilter(containingTreeView.target, heading, this.title, checked)"; const script = CompileScript(scriptText, { |