Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
backoffice: have all fields available in search
Browse files Browse the repository at this point in the history
* ref: cern-sis/issues-inspire/issues/xxx
  • Loading branch information
DonHaul committed Aug 28, 2024
1 parent ef63c20 commit 4b6b2f5
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions backoffice/backoffice/workflows/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,7 @@
class WorkflowDocument(Document):
id = fields.TextField()
workflow_type = fields.KeywordField()
data = fields.ObjectField(
properties={
"ids": fields.ObjectField(
properties={
"value": fields.KeywordField(),
"schema": fields.KeywordField(),
}
),
"name": fields.ObjectField(
properties={
"value": fields.TextField(),
"preferred_name": fields.TextField(),
}
),
"email_address": fields.ObjectField(
properties={
"value": fields.KeywordField(),
"current": fields.BooleanField(),
}
),
}
)
data = fields.ObjectField(dynamic=True)

decisions = fields.NestedField(
properties={
Expand Down

0 comments on commit 4b6b2f5

Please sign in to comment.