- Table of Disciplines #101

- Insert Facebook bar to the Site #97
This commit is contained in:
Paolo Arena
2019-11-12 21:34:03 +01:00
parent 0d776589f0
commit 049e882210
8 changed files with 115 additions and 1 deletions

View File

@@ -30,7 +30,12 @@ const WhereSchema = new Schema({
},
});
WhereSchema.statics.getFieldsForSearch = function () {
return ['placename']
};
WhereSchema.statics.executeQueryTable = function (idapp, params) {
params.fieldsearch = this.getFieldsForSearch();
return tools.executeQueryTable(this, idapp, params);
};