@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user