Explorar el Código

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

develop
Fabien Normand hace 3 años
padre
commit
2c91fd2222
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  1. +5
    -0
      Repository/AbstractRepositoryQuery.php
  2. +1
    -0
      Repository/AbstractStore.php

+ 5
- 0
Repository/AbstractRepositoryQuery.php Ver fichero

@@ -157,6 +157,11 @@ abstract class AbstractRepositoryQuery implements RepositoryQueryInterface
return $this->andWhere('.oldUrls LIKE :oldUrl')->setParameter('oldUrl', '%'.$oldUrl.'%');
}

public function resetRelationsJoin(): void
{

}

/*
* DEVALIAS
*/

+ 1
- 0
Repository/AbstractStore.php Ver fichero

@@ -10,6 +10,7 @@ abstract class AbstractStore implements StoreInterface
public function createDefaultQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface
{
$query = $this->createQuery($query);
$query->resetRelationsJoin();
$this->filtersDefault($query);
$this->relationsDefault($query);
$this->orderByDefault($query);

Cargando…
Cancelar
Guardar