fix: show jobs with Open status
This commit is contained in:
@@ -3,10 +3,12 @@ import frappe
|
|||||||
def get_context(context):
|
def get_context(context):
|
||||||
context.jobs = frappe.get_all("Job Opportunity",
|
context.jobs = frappe.get_all("Job Opportunity",
|
||||||
{
|
{
|
||||||
"status": "Approved"
|
"status": "Approved",
|
||||||
|
"job_opportunity_status": "Open"
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
"job_title", "location", "type", "company_name",
|
"job_title", "location", "type", "company_name",
|
||||||
"company_logo", "name"
|
"company_logo", "name"
|
||||||
])
|
],
|
||||||
|
order_by="creation desc")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user