* Behoben: Angebotsboxen und -Karussells enthalten deaktivierte Reisen

* Sitemap

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3305 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
uli 2017-02-23 09:08:39 +00:00
parent aeafe245d7
commit b63dcb8b1a
4 changed files with 40 additions and 6 deletions

View file

@ -49,6 +49,8 @@ class PageRepository extends NestedTreeRepository
->innerJoin('node.travelProgram', 'tp')
->innerJoin('tp.countries', 'c')
->where('c.id = '. $country->getId())
->andWhere('node.status = 1')
->andWhere('tp.status = 1')
->getQuery()
->execute()
;
@ -68,8 +70,8 @@ class PageRepository extends NestedTreeRepository
->addSelect('tp')
->innerJoin('tp.countries', 'c')
->where('c.id = '. $country->getId())
->andWhere('node.status > 0')
->andWhere('tp.status > 0')
->andWhere('node.status = 1')
->andWhere('tp.status = 1')
->orderBy('node.order')
->addOrderBy('tp.position')
->addOrderBy('node.title')