Mistake in documentation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    Mistake in documentation

    Hello yuri
    There is a mistake in documentation:

    $opportunityCollection = $entityManager ->getRepository('Account') ->getRelation($acocunt, 'opportunities') ->limit(0, 10) ->where($whereClause) ->find();
    $opportunity = $entityManager ->getRepository('Account') ->getRelation($acocunt, 'opportunities') ->order('createdAt', 'DESC') ->findOne();
    Instead of getRelation($acocunt there should be getRelation($account
    Small, i know
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Thanks.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...