Incoherent search behaviour
Created by: mighe
GitLab 6.6.2 GitLab Shell 1.8.0 GitLab API v3 Ruby 2.1.1p76 Rails 4.0.3 Db: postgre
Let's suppose to have a project called "My Project"
- searching "My P" it is correctly found
- searching "my" or "project" it is correctly found
- searching "my p" I got it as suggestion, but if submit the project is not shown in list
The problem is here: Ajax uses search_by_title
that performs a lower case conversion, on the other hand search
keeps input and data as they are.
Expected behaviour is having a case insensitive search everywhere, not only in titles