Aggiunto il filtro per Provincia
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user