Cleaned up some warnings, and fixed issue where no Year records were being retrieved #37

This commit is contained in:
amazing-username
2019-06-16 10:56:37 -04:00
parent d85197c313
commit e1614adfad
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ namespace Icarus.Database.Repositories
var query = "SELECT yr.*, COUNT(*) AS SongCount FROM Year " +
"yr LEFT JOIN Song sng ON yr.YearId=sng.YearId " +
"GROUP BY gnr.YearId";
"GROUP BY yr.YearId";
using (var cmd = new MySqlCommand(query, conn))
{