job uid
This commit is contained in:
@@ -1904,7 +1904,7 @@ long VerifySession(CVars in, CVars &out) {
|
||||
REQ_STRING(in, "sessionid", 4, 140, "(.*)");
|
||||
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
||||
|
||||
long session_expire_minutes = 15; // test build
|
||||
long session_expire_minutes = 15; // test build
|
||||
in["session_expire_minutes"] = CfgReadChar("system.session_expire_minutes");
|
||||
session_expire_minutes = in["session_expire_minutes"].Long();
|
||||
|
||||
|
||||
@@ -486,7 +486,7 @@ long WrenchJobsOfferInterestList(CVars in, CVars &out) {
|
||||
long limit = REQ_LONG(in, "limit", 1, -1);
|
||||
|
||||
const PGresult *res = pgsql_query("SELECT mm.id AS client_id, mm.uid AS client_uid, "
|
||||
" mm.firstname AS client_name, m.offer_code, m.uid AS offer_uid, "
|
||||
" mm.firstname AS client_name, m.offer_code, m.uid AS offer_uid,j.uid AS job_uid, "
|
||||
" mo.member_id, mm.added::date AS client_added, to_char(mo.added, 'Dy Mon dd, yyyy HH:MI AM') AS sent, "
|
||||
" j.title,j.description,m.job_id,to_char( m.expire, 'Dy Mon dd, yyyy HH:MI AM') AS expire,j.price AS job_price,mo.uid AS interest_uid ,"
|
||||
" c.code AS currency_code, c.description AS currency_description,j.country "
|
||||
@@ -519,6 +519,9 @@ long WrenchJobsOfferInterestList(CVars in, CVars &out) {
|
||||
snprintf(vname, sizeof (vname), "client_uid_%05d", i);
|
||||
out[vname] = rec["client_uid"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "job_uid_%05d", i);
|
||||
out[vname] = rec["job_uid"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "client_name_%05d", i);
|
||||
out[vname] = rec["client_name"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user