Only show instruments that are live and not only a draft
This commit is contained in:
parent
542c7c6d84
commit
680b78e904
|
|
@ -39,3 +39,6 @@ class BasicKnowledgeQuery(object):
|
|||
if slug is not None:
|
||||
return BasicKnowledge.objects.get(slug=slug)
|
||||
return None
|
||||
|
||||
def resolve_instruments(self, info, **kwargs):
|
||||
return BasicKnowledge.objects.all().live()
|
||||
|
|
|
|||
Loading…
Reference in New Issue