Fix database columns for dashboard stats
This commit is contained in:
parent
0124c0fa85
commit
a90adce7e3
1 changed files with 2 additions and 2 deletions
|
|
@ -633,10 +633,10 @@ function quiztech_get_dashboard_recent_invitations($count = 5) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = $wpdb->prepare(
|
$query = $wpdb->prepare(
|
||||||
"SELECT inv.applicant_email, inv.created_at, p.post_title AS job_title
|
"SELECT inv.applicant_email, inv.created_timestamp, p.post_title AS job_title
|
||||||
FROM {$invitations_table} inv
|
FROM {$invitations_table} inv
|
||||||
LEFT JOIN {$posts_table} p ON inv.job_id = p.ID
|
LEFT JOIN {$posts_table} p ON inv.job_id = p.ID
|
||||||
ORDER BY inv.created_at DESC
|
ORDER BY inv.created_timestamp DESC
|
||||||
LIMIT %d",
|
LIMIT %d",
|
||||||
absint($count)
|
absint($count)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue