def set_user(self, user):
        for field in self.filters:
            self.filters[field].field.label = u'<strong>{0}</strong>'.format(self.filters[field].field.label)
        groups = user.group_set.all()
        courses = Course.objects.filter(groups__in=groups)

        course_choices = set()
        year_choices = set()
        teacher_set = set()
        status_set = set()
        for course in courses:
            course_choices.add((course.id, course.name))
            year_choices.add((course.year.id, unicode(course.year)))

            for teacher in course.get_teachers():
                teacher_set.add(teacher)

            for status in course.issue_status_system.statuses.all():
                status_set.add(status)

        self.filters['is_active'].field.choices = ((u'', _(u'luboj')),
                                                   (1, _(u'aktivnyj')),
                                                   (0, _(u'arhiv')))
        self.filters['years'].field.choices = tuple(year_choices)
        self.filters['courses'].field.choices = tuple(course_choices)

        teacher_choices = [(teacher.id, teacher.get_full_name()) for teacher in teacher_set]
        self.filters['responsible'].field.choices = tuple(teacher_choices)

        lang = user.profile.language
        status_choices = [(status.id, status.get_name(lang)) for status in status_set]
        for status_id in sorted(IssueStatus.HIDDEN_STATUSES.values(), reverse=True):
            status_field = IssueStatus.objects.get(pk=status_id)
            status_choices.insert(0, (status_field.id, status_field.get_name(lang)))
        self.filters['status_field'].field.choices = tuple(status_choices)