Przeglądaj źródła

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

develop
Fabien Normand 3 lat temu
rodzic
commit
2c91fd2222
2 zmienionych plików z 6 dodań i 0 usunięć
  1. +5
    -0
      Repository/AbstractRepositoryQuery.php
  2. +1
    -0
      Repository/AbstractStore.php

+ 5
- 0
Repository/AbstractRepositoryQuery.php Wyświetl plik

@@ -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 Wyświetl plik

@@ -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);

Ładowanie…
Anuluj
Zapisz