Bundle/SeoBundle/Repository/RedirectionRepository.php
public function getUnresolvedQuery($order = 'redirection.counter', $direction = 'DESC')
    {
        $this->getAll();

        return $this->qb->orderBy($order, $direction);
    }
public function getUnresolvedQuery($order = 'redirection.counter', $direction = 'DESC')
    {
        $this->getAll();

        return $this->qb->orderBy($order, $direction);
    }
public function getUnresolvedQuery ( $ order = 'redirection.counter' , $ direction = 'DESC' ) { $ this -> getAll ( ) ; return $ this -> qb -> orderBy ( $ order , $ direction ) ; }
Get all redirections in the repository.

@param string $order
@param string $direction

@return QueryBuilder
Get all redirections in the repository .