forked from HPR/hpr_generator
		
	Fixed miscalculation triggering 'Call for shows'
templates/shared-call_for_shows.tpl.html:
    - Cosmetic change
templates/queries-call_for_shows-mysql.tpl.html:
templates/queries-call_for_shows-sqlite.tpl.html:
    - In a period of 10 days the minimum number of weekday-only shows
      is 6, not 7. Adjusted the queries appropriately.
			
			
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| <!--% query_call_for_shows = ' | ||||
| 	SELECT CASE WHEN COUNT(id) < 7 THEN True ELSE False END AS `request_for_shows` | ||||
| 	SELECT CASE WHEN COUNT(id) < 6 THEN True ELSE False END AS `request_for_shows` | ||||
| 	FROM eps | ||||
| 	WHERE eps.date > NOW() AND eps.date < DATE_ADD(NOW(), INTERVAL 10 DAY) | ||||
| 		' | ||||
| 	WHERE eps.date > NOW() AND eps.date <= DATE_ADD(NOW(), INTERVAL 10 DAY) | ||||
| 	' | ||||
| %--> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user