Commit e867e6a2 by Nilu

**Permissions** - All Jobs (and what should appear in the 'use another job as a…

**Permissions** - All Jobs (and what should appear in the 'use another job as a starting point' dropdown) templates are available to **all** members of a hiring team
parent 5a5d98f1
......@@ -49,7 +49,7 @@
<%
SecUser txUser = SecUser.getTXUser(process.getTransaction());
CompanyUser companyUser = txUser.getExtension(CompanyUser.REFERENCE_CompanyUser);
Job[] jobs = Job.SearchByAll().andCompanyUser(new EqualsFilter<>(companyUser)).search(transaction);
Job[] jobs = Job.SearchByCompany().byCompany(companyUser.getCompany()).search(transaction);
if(jobs.length > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment