Page 1 of 1

How to change search in employee

Posted: Tue Feb 20, 2018 7:10 pm
by Glonda
How can i change the search fields on employee list

i want the view to contain the phone nr and othe Things.. not the job title, sub unit and superviser. and the search fields should "apply" to that :)

Re: How to change search in employee

Posted: Thu Jul 19, 2018 5:39 am
by bennett
Hi, Thank you for your interest in OrangeHRM,

Please find the details on how to change the list as requested.

symfony/plugins/orangehrmPimPlugin/lib/list/EmployeeListConfigurationFactory.php
you can change the employee related date showing in the List here

symfony/plugins/orangehrmPimPlugin/lib/form/EmployeeSearchForm.php
Here you can change the search inputs

symfony/plugins/orangehrmPimPlugin/lib/service/EmployeeService.php :: searchEmployees ()
Entry method for loading data for employee list you may have to change the EmployeeDAO.php and write your own SQL/DQL Query

Thank you.

Re: How to change search in employee

Posted: Thu Nov 22, 2018 9:22 am
by Glonda
Thank you, it seems very complicated, i only want to search and list the "hs_hr_custom_fields"