Browse Source

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Fabien Normand 3 years ago
parent
commit
2c91fd2222
2 changed files with 6 additions and 0 deletions
  1. +5
    -0
      Repository/AbstractRepositoryQuery.php
  2. +1
    -0
      Repository/AbstractStore.php

+ 5
- 0
Repository/AbstractRepositoryQuery.php View File

return $this->andWhere('.oldUrls LIKE :oldUrl')->setParameter('oldUrl', '%'.$oldUrl.'%'); return $this->andWhere('.oldUrls LIKE :oldUrl')->setParameter('oldUrl', '%'.$oldUrl.'%');
} }


public function resetRelationsJoin(): void
{

}

/* /*
* DEVALIAS * DEVALIAS
*/ */

+ 1
- 0
Repository/AbstractStore.php View File

public function createDefaultQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface public function createDefaultQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface
{ {
$query = $this->createQuery($query); $query = $this->createQuery($query);
$query->resetRelationsJoin();
$this->filtersDefault($query); $this->filtersDefault($query);
$this->relationsDefault($query); $this->relationsDefault($query);
$this->orderByDefault($query); $this->orderByDefault($query);

Loading…
Cancel
Save