Commit 6ab69f48 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'dm-fix-snippet-search' into 'master'

Show case insensitive matches in snippet search results

See merge request !10745
parents 6285af34 938a07f1
...@@ -42,7 +42,7 @@ module SnippetsHelper ...@@ -42,7 +42,7 @@ module SnippetsHelper
0, 0,
lined_content.size, lined_content.size,
surrounding_lines surrounding_lines
) if line.include?(query) ) if line.downcase.include?(query.downcase)
end end
used_lines.uniq.sort used_lines.uniq.sort
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment