private function getSupervisorWhereClause(): array
    {
        if (! $this->isSupervisor()) {
            return [];
        }

        $result = [];
        foreach (Utils::getReportToUsers($this->user['id']) as $subordinate) {
            $result = array_merge_recursive(
                $result,
                (new FilterQuery($this->query, $this->table, $subordinate->toArray()))->getWhereClause()
            );
        }

        return $result;
    }