Using SugarCRM 8.0.0. I have a link that opens a custom select list (with a filter), the code looks like this
linkRelatedTemplate: function () {
var filterOptions = new app.utils.FilterOptions()
.config({
'initial_filter': 'filterByClass',
'initial_filter_label': 'LBL_FILTER_BY_CLASS_TEMPLATES',
'filter_populate': {
'brd_class_c': ['Template']
}
})
.format();
app.drawer.open(
{
layout: 'multi-selection-list',
context: {
module: 's2s_brd',
filterOptions: filterOptions,
}
}, _.bind(this.selectDrawerCallback, this));
},
But when my drawer opens instead of an ADD button at the top I get a CREATE
Does anyone know where I might start looking for the cause?