This fixes the default WHERE if empty. If i do not filter I got an Doctrine error, example:
SELECT o, drivingRoutes_a1, openingHours_a2, openingHoursExceptions_a3 FROM App\\Entity\\Location o LEFT JOIN o.drivingRoutes drivingRoutes_a1 LEFT JOIN o.openingHours openingHours_a2 LEFT JOIN o.openingHoursExceptions openingHoursExceptions_a3 WHERE ORDER BY o.id ASC
As you can see the WHERE is empty.
This fixes the default WHERE if empty. If i do not filter I got an Doctrine error, example:
SELECT o, drivingRoutes_a1, openingHours_a2, openingHoursExceptions_a3 FROM App\\Entity\\Location o LEFT JOIN o.drivingRoutes drivingRoutes_a1 LEFT JOIN o.openingHours openingHours_a2 LEFT JOIN o.openingHoursExceptions openingHoursExceptions_a3 WHERE ORDER BY o.id ASC
As you can see the WHERE is empty.Can you hotfix this? Dankjewel :)