From 7b7d59ab242e99266b5c94a71264d911d6cc47f2 Mon Sep 17 00:00:00 2001 From: jpellizzari Date: Fri, 10 Feb 2017 10:58:15 -0800 Subject: [PATCH 1/2] Fix for undefined tableRowLabel --- client/app/scripts/utils/search-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/utils/search-utils.js b/client/app/scripts/utils/search-utils.js index aec25f632..67064904f 100644 --- a/client/app/scripts/utils/search-utils.js +++ b/client/app/scripts/utils/search-utils.js @@ -271,7 +271,7 @@ export function getSearchableFields(nodes) { const tableRowLabels = nodes.reduce((labels, node) => ( labels.union(get(node, 'tables').flatMap(t => (t.get('rows') || makeList) - .map(f => f.get('label')) + .map(f => f.getIn(['entries', 'label'])) )) ), makeSet()); From 8e601ddfb333d4520cc492a93c6e739e7222bdad Mon Sep 17 00:00:00 2001 From: jpellizzari Date: Fri, 10 Feb 2017 11:32:47 -0800 Subject: [PATCH 2/2] Fixed bug where search help menu didn't open --- client/app/scripts/components/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/components/search.js b/client/app/scripts/components/search.js index 65259cc43..e0ef693e4 100644 --- a/client/app/scripts/components/search.js +++ b/client/app/scripts/components/search.js @@ -140,7 +140,7 @@ class Search extends React.Component { {!showPinnedSearches &&
{getHint(nodes)} + onMouseDown={onClickHelp} />
}