- 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

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