def __init__(self, context, request): ClientAnalysisRequestsView.__init__(self, context, request) self.context = context self.request = request self.contentFilter = { 'portal_type': 'AnalysisRequest', 'sort_on': 'created', 'sort_order': 'reverse', 'cancellation_state': 'active', } hide_actions_and_columns(self)
def __init__(self, context, request): ARV.__init__(self, context, request) self.catalog = "bika_catalog" path = '/'.join(self.context.getPhysicalPath()) self.contentFilter = { 'portal_type': 'AnalysisRequest', 'sort_on': 'created', 'sort_order': 'reverse', 'cancellation_state': 'active', } hide_actions_and_columns(self)