Lista Doni Navi

This commit is contained in:
Paolo Arena
2020-03-21 10:28:26 +01:00
parent fbc85ce06a
commit b2696d1898
139 changed files with 463 additions and 80 deletions

5
src/server/models/mypage.js Normal file → Executable file
View File

@@ -74,7 +74,10 @@ const MyPageSchema = new Schema({
});
MyPageSchema.statics.getFieldsForSearch = function () {
return ['title', 'keywords', 'description', 'content']
return [{ field: 'title', type: tools.FieldType.string },
{ field: 'keywords', type: tools.FieldType.string },
{ field: 'description', type: tools.FieldType.string },
{ field: 'content', type: tools.FieldType.string }]
};
MyPageSchema.statics.executeQueryTable = function (idapp, params) {