Commit 938a07f1 authored by Douwe Maan's avatar Douwe Maan

Show case insensitive matches in snippet search results

parent 41acc87f
......@@ -42,7 +42,7 @@ module SnippetsHelper
0,
lined_content.size,
surrounding_lines
) if line.include?(query)
) if line.downcase.include?(query.downcase)
end
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