diff --git a/package.json b/package.json index 4f85df2f1..6784f3003 100644 --- a/package.json +++ b/package.json @@ -185,7 +185,7 @@ "yarn": "^1.3" }, "lbrySettings": { - "lbrynetDaemonVersion": "0.36.0", + "lbrynetDaemonVersion": "0.37.0rc3", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip", "lbrynetDaemonDir": "static/daemon", "lbrynetDaemonFileName": "lbrynet" diff --git a/src/ui/redux/actions/content.js b/src/ui/redux/actions/content.js index ed26bfa4e..4d7d4f745 100644 --- a/src/ui/redux/actions/content.js +++ b/src/ui/redux/actions/content.js @@ -302,11 +302,13 @@ export function doFetchClaimsByChannel( data: { uri, page }, }); - // TODO: can we keep uri? - // claim_search should accept a uri (this allows for fetching vanity channel content) - const { claimId } = parseURI(uri); + const { claimName, claimId } = parseURI(uri); + let channelName = claimName; + if (claimId) { + channelName += `#${claimId}`; + } - Lbry.claim_search({ channel_id: claimId, page, page_size: pageSize }).then(result => { + Lbry.claim_search({ channel_name: channelName, page, page_size: pageSize }).then(result => { const { items: claimsInChannel, page: returnedPage } = result; if (claimsInChannel && claimsInChannel.length) {