def add_filterlist_items(self, filterlist): filterlist.append(listfilter_relateduser.Search()) filterlist.append(listfilter_relateduser.OrderRelatedStudentsFilter()) period = self.get_period() if period_tag.PeriodTag.objects.filter( period=self.get_period()).exists(): filterlist.append( listfilter_relateduser.TagSelectFilter(period=period))
def add_filterlist_items(self, filterlist): filterlist.append(listfilter_relateduser.Search()) filterlist.append(listfilter_relateduser.OrderRelatedStudentsFilter()) tags = list( RelatedStudentSyncSystemTag.objects. get_all_distinct_tags_in_period(period=self.get_period())) if tags: filterlist.append( listfilter_relateduser.TagSelectFilter(tags=tags))
def add_filterlist_items(self, filterlist): filterlist.append(listfilter_relateduser.Search()) filterlist.append(listfilter_relateduser.OrderRelatedStudentsFilter()) filterlist.append( listfilter_relateduser.TagSelectFilter( period=self.request.cradmin_role))
def add_filterlist_items(self, filterlist): filterlist.append(listfilter_relateduser.Search()) filterlist.append(listfilter_relateduser.OrderRelatedStudentsFilter())