def search(self, queryset, value):
    return queryset.filter(((((Q(name__icontains=value) | Q(serial__icontains=value.strip())) | Q(modules__serial__icontains=value.strip())) | Q(asset_tag=value.strip())) | Q(comments__icontains=value))).distinct()
def search(self, queryset, value):
    return queryset.filter(((((Q(name__icontains=value) | Q(serial__icontains=value.strip())) | Q(modules__serial__icontains=value.strip())) | Q(asset_tag=value.strip())) | Q(comments__icontains=value))).distinct()