When searching for multiple fields including id, other searchable inputs force the predicate to eq rather than cont, and selected-list does not, which results in a SQL error.
Detail
This Pull Request changes the predicate to eq when the field is id.
Before submitting the PR make sure the following are checked:
[x] This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
[x] Commit message has a concise description of what changed and why.
[ ] Tests are added or updated if you fix a bug or add a feature.
[ ] Documentation has been added or updated if you add a feature or modify an existing one.
[ ] CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature (under the "Unreleased" heading if this is not a version change).
[x] My changes don't introduce any linter rule violations.
Motivation / Background
id
, other searchable inputs force thepredicate
toeq
rather thancont
, andselected-list
does not, which results in a SQL error.Detail
This Pull Request changes the
predicate
toeq
when the field isid
.Additional information
From:
To:
Checklist
Before submitting the PR make sure the following are checked: