How to change search in employee

Discuss about how to use OrangeHRM
Post Reply
Glonda
Posts:3
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:25
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.

Glonda
Posts:3
Joined:Fri Feb 16, 2018 9:04 am

Re: How to change search in employee

Post by Glonda » Thu Nov 22, 2018 9:22 am

Thank you, it seems very complicated, i only want to search and list the "hs_hr_custom_fields"

Post Reply