From a90adce7e3083c3255270534a1dadc67a189ae2c Mon Sep 17 00:00:00 2001 From: Ruben Ramirez Date: Fri, 4 Apr 2025 09:21:00 -0500 Subject: [PATCH] Fix database columns for dashboard stats --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index d82c76e..c9f0eeb 100644 --- a/functions.php +++ b/functions.php @@ -633,10 +633,10 @@ function quiztech_get_dashboard_recent_invitations($count = 5) { } $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 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", absint($count) );