Searching for numbers with decimal places is broken

Summary

Searching for numbers with decimal places results in a 500 error.

All search bars are affected.

Steps to reproduce

Try to search for "ruby 2.6" in issues.

Or visit these URLs instead:

  • https://gitlab.com/gitlab-org/gitlab-ce/issues?scope=all&utf8=%E2%9C%93&state=opened&search=ruby+2.6
  • https://gitlab.com/search?utf8=%E2%9C%93&snippets=&scope=issues&search=test+1.23

What is the current bug behavior?

Error 500:

chrome_2019-01-23_14-24-55

What is the expected correct behavior?

Getting actual results from the search.

Output of checks

This bug happens on GitLab.com

Assignee Loading
Time tracking Loading