AnsweredAssumed Answered

Can we Override/Extend modules/Filters/clients/base/datas/model/model.js

Question asked by Jeff Bickart on Sep 10, 2015
Latest reply on Sep 16, 2015 by Jeff Bickart
We have a need to have a relate field to the Employee's module. However the relate field automatically adds to the filter users.status != 'Inactive'. Because this is the Employee's module we are relating we want to search instead for employee_status != 'Inactive'

The code is in  modules/Filters/clients/base/datas/model/model.js 

What we want to do is extend this .js and if the module passed into the buildSearchTermFilter function is anything but Employees, call the parent function... otherwise we can add custom filters.

Can this be done?

Outcomes