src/Repository/Filter/ListJobQuery.php
public function createQuery($params, $queryBuilder)
    {
        $queryBuilder
            ->field('organization')
            ->equals($params['organization_id'])
        ;
        $queryBuilder->field('status.name')->in([
            Status::ACTIVE,
            Status::PUBLISH
        ]);
        $queryBuilder->field('isDraft')->equals(false);
        return $queryBuilder;
    }
public function createQuery($params, $queryBuilder)
    {
        $queryBuilder
            ->field('organization')
            ->equals($params['organization_id'])
        ;
        $queryBuilder->field('status.name')->in([
            Status::ACTIVE,
            Status::PUBLISH
        ]);
        $queryBuilder->field('isDraft')->equals(false);
        return $queryBuilder;
    }
@param   array   $params
@param   Builder $queryBuilder

@return Builder|mixed