job type
This commit is contained in:
@@ -274,7 +274,7 @@ long WrenchReturnJobOffersList(CVars in, CVars &out) {
|
||||
|
||||
res = pgsql_query("SELECT jo.id AS offer_id, mj.id AS job_id, jo.id AS contract_id, "
|
||||
" jo.added::date,mj.title, jo.offer_code,jo.uid AS offer_uid,jo.expire, "
|
||||
" jo.public_view, mj.uid AS job_uid, jo.added AS offer_added, "
|
||||
" jo.public_view, mj.uid AS job_uid, jo.added AS offer_added, j.job_type AS job_type, j.media_uid AS media_uid, "
|
||||
" mj.description AS description, jo.job_description,mj.price, mj.timeline_days,jo.job_description AS job_detail, "
|
||||
" c.code AS currency_code, c.description AS currency_description,mj.country,mf.uid AS family_uid,mj.banner AS banner "
|
||||
" FROM members_jobs_offer jo "
|
||||
@@ -366,6 +366,12 @@ long WrenchReturnJobOffersList(CVars in, CVars &out) {
|
||||
snprintf(vname, sizeof (vname), "banner_%05d", i);
|
||||
out[vname] = rec["banner"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "job_type_%05d", i);
|
||||
out[vname] = rec["job_type"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "media_uid_%05d", i);
|
||||
out[vname] = rec["media_uid"];
|
||||
|
||||
}
|
||||
}
|
||||
ret = PHP_API_OK;
|
||||
|
||||
Reference in New Issue
Block a user