-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STSMACOM-771: Use escapeCqlValueAllowAsterisk
instead of escapeCqlValue
to avoid escaping the asterisk.
#1382
base: master
Are you sure you want to change the base?
Conversation
…ue to avoid escaping the asterisk.
Kudos, SonarCloud Quality Gate passed! |
I've put this on hold by moving it to "draft" while we decide how to handle the changes originally implemented folio-org/stripes-util/pull/69, but rolled back folio-org/stripes-util/pull/74. |
@@ -47,7 +47,7 @@ function makeQueryFunction(findAll, queryTemplate, sortMap, filterConfig, failOn | |||
return null; | |||
} | |||
|
|||
const escapeFx = config.escape ? escapeCqlValue : (s) => (s); | |||
const escapeFx = config.escape ? escapeCqlValueAllowAsterisk : (s) => (s); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust the @configOrEscape
comment accordingly.
Description
The asterisk has recently been escaped in
escapeCqlValue
stripes-util/pull/69.The suggested solution is to create a separate escapeCqlValueAllowAsterisk function to support the asterisk.
Related PRs
stripes-util/pull/73
Issue
STSMACOM-771