Skip to content

Commit

Permalink
Merge pull request #744 from JiscSD/OC-974-fix
Browse files Browse the repository at this point in the history
OC-974-fix: Fix error with spaces in search query
  • Loading branch information
finlay-jisc authored Dec 19, 2024
2 parents 8bb7273 + 98e87bc commit 5a91c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/components/user/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export const getPublications = async (
some: {
isLatestLiveVersion: true,
title: {
search: params.query + ':*'
search: Helpers.sanitizeSearchQuery(params.query)
}
}
}
Expand Down

0 comments on commit 5a91c52

Please sign in to comment.