no-search-result
This MR is about the fix of having an error message displayed by default (without firing a query).
Additionally
- the message contains the search term entered
- message appears if you enter whitespace only or if you fire an empty request
- pagination only shows up, when the amount of hits exceeds the size defined (20+)
How to test:
1) Prerequisites
git checkout issue/#67-no-search-result
-
npm run dev
(if it doesn't already) - point your browser to
http://localhost:8080
(or whichever port your runtime env suggests)
2) Test it by:
- click on the search btn located at the top bar
expected: => a clean search page should show up without any error message / alert shown anymore
-
enter a nonsense search term like
abc
into the input field
expected: => an error messages is displayed containing the search term you recently entered (there aren't any matches)
-
enter an arabic search term, e.g.
سرحادوم
expexted => you should see the ususal result of hits without any error message
Closes #67 (closed)
Edited by schneider210
Merge request reports
Activity
Filter activity
Please register or sign in to reply