diff options
| author | bob <bcz@cs.brown.edu> | 2019-11-27 12:55:49 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-11-27 12:55:49 -0500 |
| commit | b9147cee91307242558d3a277601b1357a83f2e6 (patch) | |
| tree | 648bcc3af5f728b55a9f603c91ec4cddec2ba7d2 /src/client/views/search | |
| parent | e5ba8e86b4da2af65bde85589baad5a6fae9f627 (diff) | |
fixing templates & workspace/document sidebar treeviews
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/FilterBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/FilterBox.tsx b/src/client/views/search/FilterBox.tsx index 62f3aba4c..7812c9d97 100644 --- a/src/client/views/search/FilterBox.tsx +++ b/src/client/views/search/FilterBox.tsx @@ -187,7 +187,7 @@ export class FilterBox extends React.Component { let collections: Doc[] = []; selectedDocs.forEach(async element => { - let layout: string = StrCast(element.props.Document.baseLayout); + let layout: string = StrCast(element.props.Document.layout); //checks if selected view (element) is a collection. if it is, adds to list to search through if (layout.indexOf("Collection") > -1) { //makes sure collections aren't added more than once |
