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
1 changed files with 1 additions and 1 deletions

View File

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