BigW Consortium Gitlab

Fix search blobs for wiki

parent f6609c98
......@@ -437,7 +437,7 @@ class Repository
Gitlab::Popen.popen(args, path_to_repo).first.scrub.split(/^--$/)
end
def search_to_blob(result)
def parse_search_result(result)
ref = nil
filename = nil
startline = 0
......
- blob = @project.repository.search_to_blob(blob)
- blob = @project.repository.parse_search_result(blob)
.blob-result
.file-holder
.file-title
......
- wiki_blob = @project.repository.parse_search_result(wiki_blob)
.blob-result
.file-holder
.file-title
......
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