public function findPost($search)
    {
        // select
        $qb = $this->getQueryBuilder()
            ->select('p, pTrans')
            ->join('p.translations', 'pTrans')
            ;    
        
        
        // search
        if (!empty($search)) {
            $qb->where('pTrans.title LIKE :search')
                ->orWhere('pTrans.description LIKE :search')
                ->setParameter('search', '%'.$search.'%');
        }

        $qb->orderBy('p.published', 'DESC');

        return $qb->getQuery()->getResult();
    }