Starred projects page returns wrong "no results found" message
Summary
When submitting the filter by name form on starred projects, so the whole site reloads, it says "You don't have starred projects yet" (which is not true) instead of "No projects found".
Steps to reproduce
- Visit the starred projects page
- Fill in a filter, which cannot return results
- Press return
What is the current bug behavior?
The site reloads and displays "You don't have starred projects yet"
What is the expected correct behavior?
The site should display "No projects found".
Output of checks
This bug happens on GitLab.com
Possible fixes
Prevent the form event from reloading (e.preventDefault() etc.) or/and create a serverside check, whether this was a filtered search.