banner
This commit is contained in:
@@ -252,7 +252,7 @@ long WrenchReturnJobOffersList(CVars in, CVars &out) {
|
||||
" 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, "
|
||||
" 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 "
|
||||
" 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 "
|
||||
" LEFT JOIN members_jobs mj ON mj.id = jo.job_id "
|
||||
" LEFT JOIN currency c ON c.country=mj.country "
|
||||
@@ -339,6 +339,9 @@ long WrenchReturnJobOffersList(CVars in, CVars &out) {
|
||||
snprintf(vname, sizeof (vname), "currency_code_%05d", i);
|
||||
out[vname] = rec["currency_code"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "banner_%05d", i);
|
||||
out[vname] = rec["banner"];
|
||||
|
||||
}
|
||||
}
|
||||
ret = PHP_API_OK;
|
||||
|
||||
Reference in New Issue
Block a user