Browse Source

HUE-7296 [frontend] Add the UUID to returned documents in the global search result

Johan Ahlen 8 năm trước cách đây
mục cha
commit
0a0060ca52
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      desktop/core/src/desktop/api2.py

+ 1 - 0
desktop/core/src/desktop/api2.py

@@ -636,6 +636,7 @@ def search_entities_interactive(request):
           'link': e.get_absolute_url(),
           'doc_type': escape(e.type),
           'type': 'HUE',
+          'uuid': e.uuid,
           'originalName': escape(e.name)
         } for e in entities['documents']
       ],