浏览代码

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

develop
Fabien Normand 3 年前
父节点
当前提交
2c91fd2222
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. +5
    -0
      Repository/AbstractRepositoryQuery.php
  2. +1
    -0
      Repository/AbstractStore.php

+ 5
- 0
Repository/AbstractRepositoryQuery.php 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存