diff --git a/dist/bundle.js b/dist/bundle.js index e22c3dd..a792411 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -4346,7 +4346,10 @@ var doSearch = exports.doSearch = function doSearch(rawQuery) { data: { searchQuery: query } }); } - fetch('https://lighthouse.lbry.io/search?s=' + query + '&size=' + size + '&from=' + from).then(_handleFetch2.default).then(function (data) { + + // For some reason the app doesn't automatically encode the pound sign (#) + // If we don't do it manually everything after the '#' gets removed + fetch('https://lighthouse.lbry.io/search?s=' + query.replace('#', '%23') + '&size=' + size + '&from=' + from).then(_handleFetch2.default).then(function (data) { var uris = []; var actions = []; diff --git a/src/redux/actions/search.js b/src/redux/actions/search.js index eebeda4..2d48ced 100644 --- a/src/redux/actions/search.js +++ b/src/redux/actions/search.js @@ -45,7 +45,12 @@ export const doSearch = ( data: { searchQuery: query }, }); } - fetch(`https://lighthouse.lbry.io/search?s=${query}&size=${size}&from=${from}`) + + // For some reason the app doesn't automatically encode the pound sign (#) + // If we don't do it manually everything after the '#' gets removed + fetch( + `https://lighthouse.lbry.io/search?s=${query.replace('#', '%23')}&size=${size}&from=${from}` + ) .then(handleFetchResponse) .then(data => { const uris = [];