message added emails

This commit is contained in:
CHIEFSOFT\ameye
2024-10-05 04:48:04 -04:00
parent 1a4cab314e
commit 992851462d
3 changed files with 66 additions and 55 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ CREATE TABLE email_message(
out["total_record"] = "0";
const PGresult *res;
res = pgsql_query("SELECT * FROM email_message "
" WHERE topic IN ('JOBS_INDIVIDUAL_OFFER_MAIL', 'JOBS_OFFER_INTEREST_MAIL') "
" WHERE topic IN ('JOBS_INDIVIDUAL_OFFER_MAIL', 'JOBS_OFFER_INTEREST_MAIL', 'JOBS_GROUP_OFFER_PUBLIC', 'JOBS_MESSAGE_ADDED') "
" AND status = 1 ORDER BY id ASC LIMIT 20");
if (res != NULL && pgsql_num_rows(res) > 0) {