limiting the openingtimes on the last 2 weeks, not this one including the last 2
parent
8381abd6dd
commit
4417dcf75a
|
@ -185,7 +185,7 @@
|
||||||
|
|
||||||
$chartDataQuery = 'SELECT ROUND( AVG( people ) )
|
$chartDataQuery = 'SELECT ROUND( AVG( people ) )
|
||||||
FROM state
|
FROM state
|
||||||
WHERE datetime >= curdate() - INTERVAL 2 WEEK
|
WHERE datetime >= curdate() - INTERVAL 312 Hour
|
||||||
AND WEEKDAY( datetime ) = ?
|
AND WEEKDAY( datetime ) = ?
|
||||||
AND HOUR ( datetime ) = ?';
|
AND HOUR ( datetime ) = ?';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue