Fix incorrect column name when getting report reasons
This commit is contained in:
parent
9dbef26b92
commit
e113b0744d
@ -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" +
|
||||||
|
Loading…
Reference in New Issue
Block a user