diff --git a/school/www/jobs/index.py b/school/www/jobs/index.py index fee62bc7..1870ae0e 100644 --- a/school/www/jobs/index.py +++ b/school/www/jobs/index.py @@ -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")