Describe the bug
In notification details page, when user clicks on search bar and type character instead of integer (mostly meant for project ID), the page crashes showing internal server error on logs.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://tasks.hotosm.org/inbox '
- Click on 'search '
- Type any character or project name
- See error
Expected behavior
If the notifications can't be searched by project name and only be searched by project id as mentioned in placeholder, typing any character should be blocked from frontend.
Screenshots
Additional context
Add any other context about the problem here.
Describe the bug
In notification details page, when user clicks on search bar and type character instead of integer (mostly meant for project ID), the page crashes showing internal server error on logs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the notifications can't be searched by project name and only be searched by project id as mentioned in placeholder, typing any character should be blocked from frontend.
Screenshots
Additional context
Add any other context about the problem here.