Commit 25f72adc authored by ethiraj krishnamanaidu's avatar ethiraj krishnamanaidu Committed by Mohammad Malekmakan
Browse files

Added return Fields for search query

parent 4246648d
......@@ -84,6 +84,7 @@ class SearchId(HeadersMixin):
query = self._create_search_query()
request_body = {
"kind": "*:*:*:*",
"returnedFields": ["id", "version", "acl", "kind", "legal"],
"query": query
}
self.request_body = json.dumps(request_body)
......@@ -155,7 +156,7 @@ class ExtendedSearchId(SearchId):
request_body = {
"kind": "*:*:*:*",
"query": query,
"returnedFields": ["id", "version"],
"returnedFields": ["id", "version", "acl", "kind", "legal"],
"limit": self.limit
}
self._request_body = request_body
......
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