Lista Doni Navi
This commit is contained in:
8
src/server/models/extralist.js
Normal file → Executable file
8
src/server/models/extralist.js
Normal file → Executable file
@@ -208,7 +208,12 @@ ExtraListSchema.statics.getUserNotRegisteredByNameSurname = function (idapp, nam
|
||||
|
||||
|
||||
ExtraListSchema.statics.getFieldsForSearch = function () {
|
||||
return ['username', 'name', 'surname', 'cell_complete', 'aportador_solidario_name_surname', 'aportador_solidario_originale_name_surname']
|
||||
return [{ field: 'username', type: tools.FieldType.string },
|
||||
{ field: 'name', type: tools.FieldType.string },
|
||||
{ field: 'surname', type: tools.FieldType.string },
|
||||
{ field: 'cell_complete', type: tools.FieldType.string },
|
||||
{ field: 'aportador_solidario_name_surname', type: tools.FieldType.string },
|
||||
{ field: 'aportador_solidario_originale_name_surname', type: tools.FieldType.string }]
|
||||
};
|
||||
|
||||
ExtraListSchema.statics.executeQueryTable = function (idapp, params) {
|
||||
@@ -321,7 +326,6 @@ ExtraListSchema.statics.ImportData = async function (locale, idapp, strdata) {
|
||||
};
|
||||
|
||||
|
||||
|
||||
const ExtraList = mongoose.model('ExtraList', ExtraListSchema);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user