From aca33d6f084d92dfd130a560c4fbf01f702e2262 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 18 Dec 2019 17:25:49 -0500 Subject: [PATCH] pass related_to flag to related searches --- package.json | 2 +- ui/component/recommendedContent/index.js | 4 ++-- ui/page/file/view.jsx | 2 +- yarn.lock | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 5f6c96e0e..06a2a3acf 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "imagesloaded": "^4.1.4", "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", - "lbry-redux": "lbryio/lbry-redux#e78c2a7e9fbacf39f73dd52fa0aa05f970973b98", + "lbry-redux": "lbryio/lbry-redux#bd9f1b1b0d2a16eaa9c08483400c9c3085301962", "lbryinc": "lbryio/lbryinc#1e897d2c9108848637e1915700d3ae8ce176f9f8", "lint-staged": "^7.0.2", "localforage": "^1.7.1", diff --git a/ui/component/recommendedContent/index.js b/ui/component/recommendedContent/index.js index 902ba01e2..8caf4d23f 100644 --- a/ui/component/recommendedContent/index.js +++ b/ui/component/recommendedContent/index.js @@ -8,8 +8,8 @@ const select = (state, props) => ({ isSearching: selectIsSearching(state), }); -const perform = dispatch => ({ - search: query => dispatch(doSearch(query, 20, undefined, true)), +const perform = (dispatch, ownProps) => ({ + search: query => dispatch(doSearch(query, 20, undefined, true, { related_to: ownProps.claimId })), }); export default connect( diff --git a/ui/page/file/view.jsx b/ui/page/file/view.jsx index bf9bf7802..fdf5b27e8 100644 --- a/ui/page/file/view.jsx +++ b/ui/page/file/view.jsx @@ -247,7 +247,7 @@ class FilePage extends React.Component {
- +
diff --git a/yarn.lock b/yarn.lock index d09f85307..dae1104f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7092,9 +7092,9 @@ lazy-val@^1.0.4: yargs "^13.2.2" zstd-codec "^0.1.1" -lbry-redux@lbryio/lbry-redux#e78c2a7e9fbacf39f73dd52fa0aa05f970973b98: +lbry-redux@lbryio/lbry-redux#bd9f1b1b0d2a16eaa9c08483400c9c3085301962: version "0.0.1" - resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/e78c2a7e9fbacf39f73dd52fa0aa05f970973b98" + resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/bd9f1b1b0d2a16eaa9c08483400c9c3085301962" dependencies: proxy-polyfill "0.1.6" reselect "^3.0.0"