Hard coded currency removed
This commit is contained in:
@@ -190,8 +190,8 @@ long WrenchJobManagerList( CVars in, CVars &out){
|
||||
|
||||
res = pgsql_query("SELECT j.id AS job_id, j.*,c.code AS currency_code, c.description AS currency_description "
|
||||
" FROM members_jobs j "
|
||||
" WHERE j.member_id = %lu AND j.status=1 "
|
||||
" LEFT JOIN currency c ON c.country=j.country "
|
||||
" WHERE j.member_id = %lu AND j.status=1 "
|
||||
" ORDER BY j.id DESC LIMIT %lu OFFSET %lu", in["member_id"].Long(), limit, offset);
|
||||
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user