* 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:
parent
aeafe245d7
commit
b63dcb8b1a
4 changed files with 40 additions and 6 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue