AnsweredAssumed Answered

How to extend FiltersBean

Question asked by John Boyes on Nov 1, 2019
Latest reply on Nov 1, 2019 by André Lopes

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



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



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.