fix: show jobs with Open status

This commit is contained in:
Jannat Patel
2021-12-30 11:51:27 +05:30
parent 7a5d39cc94
commit aa81426189

View File

@@ -3,10 +3,12 @@ import frappe
def get_context(context):
context.jobs = frappe.get_all("Job Opportunity",
{
"status": "Approved"
"status": "Approved",
"job_opportunity_status": "Open"
},
[
"job_title", "location", "type", "company_name",
"company_logo", "name"
])
],
order_by="creation desc")