Skip to content
Snippets Groups Projects
Commit 3fcd7953 authored by Renzo Frigato's avatar Renzo Frigato
Browse files

add container info on analysis search outputs

parent b00afbf4
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class SearchHandler(base.RequestHandler):
return results
def _augment_result(self, result, result_type):
if result_type in ['files', 'notes']:
if result_type in ['files', 'notes', 'analyses']:
container = result['_source'].pop('container')
container_name = result['_source']['container_name']
result['_source'][container_name[:-1]] = container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment