From cdc31b3006bee3260b5252a090cb275eae4a99ee Mon Sep 17 00:00:00 2001 From: alexliebowitz Date: Mon, 27 Jun 2016 16:40:49 -0400 Subject: [PATCH] Make search results use new standard "title" field --- js/page/home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/page/home.js b/js/page/home.js index 55239da44..73bbcb384 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -47,7 +47,7 @@ var SearchResults = React.createClass({ console.log('made it here'); this.props.results.forEach(function(result) { rows.push( - ); }); @@ -149,7 +149,7 @@ var FeaturedContentItem = React.createClass({ lbry.resolveName(this.props.name, (metadata) => { this.setState({ metadata: metadata, - title: metadata.name || metadata.stream_name || ('lbry://' + this.props.name), + title: metadata.title || ('lbry://' + this.props.name), }) }); },