Skip to content
Snippets Groups Projects
Verified Commit 35a1146c authored by Julian's avatar Julian Committed by Jonathan Weth
Browse files

Make search text available to graphql

parent 5e849cd2
No related branches found
No related tags found
1 merge request!1098Resolve "Make progress page and search bar use GraphQL"
......@@ -145,6 +145,7 @@ class SearchResultType(graphene.ObjectType):
obj = graphene.Field(SearchModelType)
verbose_name = graphene.String()
verbose_name_plural = graphene.String()
text = graphene.String()
def resolve_obj(root, info, **kwargs): # noqa
return root.object
......
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