gitlab-org--gitlab-foss/app/views/search/results
Markus Koller 6905a62867
Build correct basenames for title search results
The "basename" here needs to be the full path without the trailing
extension, instead of stripping the leading path as well.

This was previously fixed in 2f36efa087 inside the view, but the
problematic code was still present in FoundBlob, and the corresponding
spec didn't actually use a child wiki page to properly verify the fix.
2019-06-20 18:05:12 +02:00
..
_blob.html.haml
_blob_data.html.haml
_commit.html.haml
_empty.html.haml
_issue.html.haml Backport of 10854-elasticsearch_avoid_db 2019-06-05 14:42:00 -06:00
_merge_request.html.haml Backport of 10854-elasticsearch_avoid_db 2019-06-05 14:42:00 -06:00
_milestone.html.haml Backport of 10854-elasticsearch_avoid_db 2019-06-05 14:42:00 -06:00
_note.html.haml
_snippet_blob.html.haml
_snippet_title.html.haml
_user.html.haml
_wiki_blob.html.haml Build correct basenames for title search results 2019-06-20 18:05:12 +02:00