@classmethod
def filter_search(cls, qs, query):
    from tournesol.models import Entity
    return qs.filter(pk__in=Entity.objects.filter(((Q(name__icontains=query) | Q(description__icontains=query)) | Q(tags__name__icontains=query))))
@classmethod
def filter_search(cls, qs, query):
    from tournesol.models import Entity
    return qs.filter(pk__in=Entity.objects.filter(((Q(name__icontains=query) | Q(description__icontains=query)) | Q(tags__name__icontains=query))))