I need to correct a core Sugar bug and I want to do it in an upgrade safe way.
The file I need to make a correction in is
modules/Filters/clients/base/datas/model/model.js
I need to comment out a portion of line 104 so that it will not perform the action for the Employees module
if (moduleName === 'Users' || moduleName === 'Employees') {
I have created a file
custom/modules/Filters/clients/base/datas/model/model.js
and removed all of the code except for the function that contains the code I want to alter. The problem I am having is determining the name of the object that I am extending.
extendsFrom: 'FiltersBean',
I used FiltersBean because that is what is says the name of the class is at the top of the file
/**
* @class Data.Base.FiltersBean
* @extends Data.Bean
*/
I have tried a number of different object names but cannot seem to find the correct one. Any help would be appreciated.