Job category
This commit is contained in:
@@ -1561,6 +1561,9 @@ long WrenchCreateJobs(CVars in, CVars &out) {
|
||||
x["country"] = in["country"];
|
||||
x["country"].set_valid(true);
|
||||
|
||||
x["category"] = in["country"];
|
||||
x["category"].set_valid(true);
|
||||
|
||||
job_id = insert_db_record(DBS_VALID, "members_jobs", "members_jobs_id_seq", x);
|
||||
|
||||
if (job_id) {
|
||||
@@ -1627,6 +1630,10 @@ long WrenchEditJobs(CVars in, CVars &out) {
|
||||
x["loc"].set_valid(true);
|
||||
x["job_detail"] = in["job_detail"];
|
||||
x["job_detail"].set_valid(true);
|
||||
|
||||
x["category"] = in["job_detail"];
|
||||
x["category"].set_valid(true);
|
||||
|
||||
// job_id = insert_db_record(DBS_VALID, "members_jobs", "members_jobs_id_seq", x);
|
||||
|
||||
if (job_id> 0) {
|
||||
|
||||
Reference in New Issue
Block a user