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

This commit is contained in:
amazing-username committed 2019-06-16 10:56:37 -04:00
1 parent d85197c313
commit e1614adfad
3 files changed
+4 -5

No files matched your search

+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))
{