forked from HPR/hpr_generator
		
	Update SQL query to order results by id
This commit is contained in:
		| @@ -22,7 +22,7 @@ | ||||
| 	INNER JOIN hosts ON eps.hostid = hosts.hostid  | ||||
| 	INNER JOIN miniseries ON eps.series = miniseries.id | ||||
| 	WHERE hosts.hostid = ? AND eps.date < date(\'now\', \'+1 days\')  | ||||
| 	ORDER BY date DESC	') | ||||
| 	ORDER BY eps.id + 0 DESC	') | ||||
| %--> | ||||
| <!--% hpr_shows_to_count = query_hpr_show_count.execute(id); %--> | ||||
| <!--% hpr_shows = query_hpr_shows.execute(id); %--> | ||||
| @@ -51,7 +51,7 @@ | ||||
| 	INNER JOIN hosts ON eps.hostid = hosts.hostid  | ||||
| 	INNER JOIN miniseries ON eps.series = miniseries.id | ||||
| 	WHERE hosts.hostid = ? | ||||
| 	ORDER BY date DESC | ||||
| 	ORDER BY eps.id + 0 DESC | ||||
| 	') | ||||
| %--> | ||||
| <!--% twat_shows_to_count = query_twat_show_count.execute(id); %--> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user