From 2c14eb77ac956038fbba9afcc9e695d6c9d10329 Mon Sep 17 00:00:00 2001 From: hackrush Date: Sat, 26 Aug 2017 13:25:26 +0530 Subject: [PATCH 1/2] Return proper URI when channel name is present --- ui/js/component/fileList/view.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/js/component/fileList/view.jsx b/ui/js/component/fileList/view.jsx index cc397ddbe..23ad16ad5 100644 --- a/ui/js/component/fileList/view.jsx +++ b/ui/js/component/fileList/view.jsx @@ -67,12 +67,13 @@ class FileList extends React.PureComponent { const content = []; this._sortFunctions[sortBy](fileInfos).forEach(fileInfo => { - let uriParams = { - claimId: fileInfo.claim_id, - }; + let uriParams = {}; + if (fileInfo.channel_name) { uriParams.channelName = fileInfo.channel_name; uriParams.contentName = fileInfo.name; + // The following can be done as certificateID of a claim is nothing but the claimID of the channel. + uriParams.claimId = fileInfo.value.publisherSignature.certificateId; } else { uriParams.claimId = fileInfo.claim_id; uriParams.name = fileInfo.name; From ebd7c66faad4a46cdaacd1b25b2f37a0d4924910 Mon Sep 17 00:00:00 2001 From: hackrush Date: Sat, 26 Aug 2017 13:32:05 +0530 Subject: [PATCH 2/2] Changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fa126b9e..07a692d4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ Web UI version numbers should always match the corresponding version of LBRY App * Fixed sizing on squat videos (#419) * Support claims no longer show up on Published page (#384) * Fixed rendering of small prices (#461) + * Fixed incorrect URI in Downloads/Published page (#460) ### Deprecated *