def METHOD_NAME(self, queryset, name, value):
    if not value:  # pragma: no cover
        return queryset
    return queryset.filter(
        Q(
            pk__in=models.ProjectAssignee.objects.filter(
                is_reviewer=True, user_id=value
            ).values("project_id"),
        )
        | Q(
            customer_id__in=models.CustomerAssignee.objects.filter(
                is_reviewer=True, user_id=value
            ).values("customer_id"),
        )
    )