aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonikahedman <monika_hedman@brown.edu>2019-07-14 18:32:09 -0400
committermonikahedman <monika_hedman@brown.edu>2019-07-14 18:32:09 -0400
commit606a494b4f0e259ce8d70b9ac4c5ab7b2bd0cd25 (patch)
treeee4acf2b3e9bd48fd1b1e1b96bda4e4003effcf9 /src
parent29840e571c2f17d0bb346186dd91f1d895684a95 (diff)
should be ready
Diffstat (limited to 'src')
-rw-r--r--src/client/views/search/SearchItem.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx
index 134c13dc8..9a9351429 100644
--- a/src/client/views/search/SearchItem.tsx
+++ b/src/client/views/search/SearchItem.tsx
@@ -99,7 +99,9 @@ export class SearchItem extends React.Component<SearchItemProps> {
@observable _selected: boolean = false;
onClick = () => {
- DocumentManager.Instance.jumpToDocument(this.props.doc, false);
+ // I dont think this is the best functionality because clicking the name of the collection does that. Change it back if you'd like
+ // DocumentManager.Instance.jumpToDocument(this.props.doc, false);
+ CollectionDockingView.Instance.AddRightSplit(this.props.doc, undefined);
}
@observable _useIcons = true;
@observable _displayDim = 50;