Skip to content

Commit

Permalink
Merge branch '1304-bug-resource-usage-in-papers-doesn-t-support-url-e…
Browse files Browse the repository at this point in the history
…ncoding' into 'master'

fix(Resource): usage in papers doesn't support url encoding

Closes #1304

See merge request TIBHannover/orkg/orkg-frontend!1037
  • Loading branch information
aoelen committed Mar 10, 2023
2 parents 9d92e38 + b1a8df9 commit 4ad8a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/backend/papers.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const getPapersLinkedToResource = async ({
}) => {
const sort = `${sortBy},${desc ? 'desc' : 'asc'}`;
const params = queryString.stringify(
{ linkedTo: encodeURIComponent(id), page, size, sort, desc },
{ linkedTo: id, page, size, sort, desc },
{
skipNull: true,
skipEmptyString: true,
Expand Down

0 comments on commit 4ad8a69

Please sign in to comment.