wcs: fix is_relevant function signature (pylint)
This commit is contained in:
parent
358018e8de
commit
5946fb0868
|
@ -328,7 +328,7 @@ class WcsFormsOfCategoryCell(WcsCommonCategoryCell, WcsBlurpMixin):
|
|||
def api_url(self):
|
||||
return '/api/categories/%s/formdefs/' % self.category_reference.split(':')[1]
|
||||
|
||||
def is_relevant(self, user=None):
|
||||
def is_relevant(self, context):
|
||||
return bool(self.category_reference)
|
||||
|
||||
def render(self, context):
|
||||
|
|
Loading…
Reference in New Issue