Summarize search hits for same file
Summary
search results in same file are not combined
Steps to reproduce
search for term that appears multiple times in a file, e.g. https://gitlab.com/search?group_id=9970&nav_source=navbar&project_id=278964&repository_ref=master&scope=blobs&search=sort_value&search_code=true
What is the current bug behavior?
same lines of same file are displayed multiple times, occupying a lot of space on the search page:
What is the expected correct behavior?
each file appears only once in the results and multiple hits are highlighted
for comparison, this is the same search on GitHub: https://github.com/search?q=repo%3Agitlabhq%2Fgitlabhq%20sort_value&type=code
Edited by Winnie

