Searching the list of projects is case-sensitive. This makes searching difficult if you're not sure of the exact name of the project, e.g. searching "narrative" will work if the project is called "Tweet narrative" but not "Tweet Narrative" or "Narrative of Politician Tweets" etc...
To Reproduce
Steps to reproduce the behavior:
Create a project called "My Project"
Search "My project"
Expected behavior
Results will be returned regardless of case
Additional context
The RPC backend uses .filter(name__contains=filters.strip()) to handle searching. Per the Django docs this can be changed to .filter(name__icontains=filters.strip()).
Describe the bug
Searching the list of projects is case-sensitive. This makes searching difficult if you're not sure of the exact name of the project, e.g. searching "narrative" will work if the project is called "Tweet narrative" but not "Tweet Narrative" or "Narrative of Politician Tweets" etc...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Results will be returned regardless of case
Additional context
The RPC backend uses
.filter(name__contains=filters.strip())
to handle searching. Per the Django docs this can be changed to.filter(name__icontains=filters.strip())
.