Lista Doni Navi
This commit is contained in:
3
src/server/models/discipline.js
Normal file → Executable file
3
src/server/models/discipline.js
Normal file → Executable file
@@ -89,7 +89,8 @@ DisciplineSchema.statics.getDisciplineforNewsletter = function (idapp) {
|
||||
|
||||
|
||||
DisciplineSchema.statics.getFieldsForSearch = function () {
|
||||
return ['label', 'description']
|
||||
return [{ field: 'label', type: tools.FieldType.string },
|
||||
{ field: 'description', type: tools.FieldType.string }]
|
||||
};
|
||||
|
||||
DisciplineSchema.statics.executeQueryTable = function (idapp, params) {
|
||||
|
||||
Reference in New Issue
Block a user