Aggiunto il filtro per Provincia

This commit is contained in:
paoloar77
2022-01-23 23:25:34 +01:00
parent 66eaca6d41
commit 632534eed1
15 changed files with 89399 additions and 24 deletions

View File

@@ -35,6 +35,9 @@ const MySkillSchema = new Schema({
{
type: Number,
}],
idSector: {
type: Number,
},
idContribType: [
{
type: String,
@@ -108,10 +111,11 @@ MySkillSchema.statics.findAllIdApp = async function(idapp) {
};
MySkillSchema.statics.getFieldsForSearch = function() {
return [{field: 'idSkill', type: tools.FieldType.Number}
,{field: 'note', type: tools.FieldType.String}
,{field: 'subTitle', type: tools.FieldType.String}
];
return [
{field: 'idSkill', type: tools.FieldType.Number}
, {field: 'note', type: tools.FieldType.String}
, {field: 'subTitle', type: tools.FieldType.String},
];
};
MySkillSchema.statics.executeQueryTable = function(idapp, params) {
@@ -145,7 +149,7 @@ MySkillSchema.statics.executeQueryTable = function(idapp, params) {
},
};
params = { ...params, ...otherparams };
params = {...params, ...otherparams};
return tools.executeQueryTable(this, idapp, params);
};