- Chart Maps Nationality
- Username lowercase - Statistics - Telegram
This commit is contained in:
@@ -123,6 +123,12 @@ ExtraListSchema.statics.getRegDellaLista = async function (idapp) {
|
||||
return await ExtraList.count(myfind);
|
||||
};
|
||||
|
||||
ExtraListSchema.statics.getLastUser = function (idapp) {
|
||||
const ExtraList = this;
|
||||
|
||||
return ExtraList.findOne({ idapp }).sort({ ind_order: -1 })
|
||||
};
|
||||
|
||||
|
||||
ExtraListSchema.statics.findByCellAndNameSurname = function (idapp, cell_complete, name, surname) {
|
||||
const ExtraList = this;
|
||||
@@ -163,7 +169,7 @@ ExtraListSchema.statics.getUsersList = function (idapp) {
|
||||
|
||||
|
||||
ExtraListSchema.statics.getFieldsForSearch = function () {
|
||||
return ['name', 'surname', 'cell_complete', 'aportador_solidario_name_surname', 'aportador_solidario_originale_name_surname']
|
||||
return ['username', 'name', 'surname', 'cell_complete', 'aportador_solidario_name_surname', 'aportador_solidario_originale_name_surname']
|
||||
};
|
||||
|
||||
ExtraListSchema.statics.executeQueryTable = function (idapp, params) {
|
||||
|
||||
Reference in New Issue
Block a user