Fix incorrect column name when getting report reasons

This commit is contained in:
Keir Nellyer 2016-06-09 17:06:09 +01:00
parent 9dbef26b92
commit e113b0744d

View File

@ -49,7 +49,7 @@ public class ReportRepository extends MinecraftRepository
private static final String GET_REPORT_REASONS = "SELECT * FROM reportReasons" + private static final String GET_REPORT_REASONS = "SELECT * FROM reportReasons" +
" WHERE reportId = ?" + " WHERE reportId = ?" +
" ORDER BY reportedTime ASC;"; " ORDER BY time ASC;";
private static final String GET_UNHANDLED_REPORTS = "SELECT reports.id FROM reports" + private static final String GET_UNHANDLED_REPORTS = "SELECT reports.id FROM reports" +
" LEFT JOIN reportResults ON reports.id = reportResults.reportId" + " LEFT JOIN reportResults ON reports.id = reportResults.reportId" +