How to change search in employee

Discuss about how to use OrangeHRM
Post Reply
Glonda
Posts: 2
Joined: Fri Feb 16, 2018 9:04 am

How to change search in employee

Post by Glonda » Tue Feb 20, 2018 7:10 pm

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 :)

bennett
Posts: 17
Joined: Thu Feb 15, 2018 6:21 am

Re: How to change search in employee

Post by bennett » Thu Jul 19, 2018 5:39 am

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.

Post Reply