* Suchergebnisse zu Reiseprogrammen verlinken
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3286 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
23b2c7a7e8
commit
56d6e88451
6 changed files with 78 additions and 5 deletions
|
|
@ -93,7 +93,7 @@ class DefaultController extends Controller
|
|||
$stopwatch = $this->get('debug.stopwatch');
|
||||
$em = $this->getEntityManager();
|
||||
|
||||
$destinationsIds = [6,7];
|
||||
$destinationIds = null;
|
||||
$destination = $em->getRepository('AppBundle:TravelCountry')->find($request->query->get('c'));
|
||||
if ($destination)
|
||||
{
|
||||
|
|
@ -106,7 +106,7 @@ class DefaultController extends Controller
|
|||
|
||||
$stopwatch->start('search');
|
||||
$r = $this->getDoctrine()->getRepository('AppBundle:TravelPeriod')->getTravelProgramsWithTravelDatesForTimePeriod(
|
||||
$startDate, $endDate, $destinationsIds, true);
|
||||
$startDate, $endDate, $destinationIds, true);
|
||||
$stopwatch->stop('search');
|
||||
|
||||
return $this->render('default/pages/search.html.twig', [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue