

def search(self):
    sqs = super(AdvancedSearchForm, sqs).search()
    if (not self.is_valid()):
        return sqs
    if self.cleaned_data['language']:
        sqs = sqs.filter(language=self.cleaned_data['language'].name)
    if self.cleaned_data['version']:
        sqs = sqs.filter(version__in=self.cleaned_data['version'])
    if self.cleaned_data['minimum_pub_date']:
        sqs = sqs.filter(pub_date__gte=self.cleaned_data['minimum_pub_date'])
    if self.cleaned_data['minimum_bookmark_count']:
        sqs = sqs.filter(bookmark_count__gte=self.cleaned_data['minimum_bookmark_count'])
    if self.cleaned_data['minimum_rating_score']:
        sqs = sqs.filter(rating_score__gte=self.cleaned_data['minimum_rating_score'])
    return sqs

dataset/ETHPy150Open django-de/djangosnippets.org/cab/cab/forms.py AdvancedSearchForm.search/VarMisuse@16/20 `self`->`sqs`