Allow parent query in tasks.get_all

This commit is contained in:
allegroai 2021-01-05 18:48:25 +02:00
parent 436883148b
commit 88836fae66

View File

@ -185,10 +185,9 @@ class Task(AttributedDocument):
],
}
get_all_query_options = GetMixin.QueryParameterOptions(
list_fields=("id", "user", "tags", "system_tags", "type", "status", "project"),
list_fields=("id", "user", "tags", "system_tags", "type", "status", "project", "parent"),
datetime_fields=("status_changed",),
pattern_fields=("name", "comment"),
fields=("parent",),
)
id = StringField(primary_key=True)