-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fix vocabulary search using "0" as the search string #1267
Fix vocabulary search using "0" as the search string #1267
Conversation
…tation code but not in the middle of it (YKL). At the moment it causes problems in searches related to the vocabularies not using notation code - prefLaber combination (such as Juho).
… related to the dataProvider for searching with zero (API) fixed.
Codecov Report
@@ Coverage Diff @@
## master #1267 +/- ##
=========================================
Coverage 69.36% 69.36%
Complexity 1650 1650
=========================================
Files 32 32
Lines 4047 4047
=========================================
Hits 2807 2807
Misses 1240 1240
Continue to review full report at Codecov.
|
Can you please update the PR title and description so it corresponds to current status? |
Hadn't seen this PR, I think it's also related to the zeroes in the beginning of the search, sorry! Feel free to close mine and centralize on this one if you prefer, or use anything from that PR too 👍 |
Need to fix the conflicts caused by #1276. |
…-0-as-the-query-argument-throws-an-error
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
I fixed the conflicts, cleaned up the PR (removed useless test data), edited the PR title, rewrote the PR description, and tested this. I think it should be good to go now. Will wait for QA jobs, do a final check, then merge if there are no problems. |
Reasons for creating this PR
Fix the remaining cases in #1260 ; the REST API search using "0" has been fixed in #1261 and #1276, but searches for "0" in the web UI are still not working until this PR.
Link to relevant issue(s), if any
Description of the changes in this PR
q
even when its value is"0"
testSearchWithZeroData
intoprovideSearchWithZeroData
to avoid PHPUnit considering it a test case and complaining that it's "Risky" because it doesn't perform any assertionsKnown problems or uncertainties in this PR
n/a
Checklist