Lista Doni Navi
This commit is contained in:
5
src/server/models/mypage.js
Normal file → Executable file
5
src/server/models/mypage.js
Normal file → Executable 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) {
|
||||
|
||||
Reference in New Issue
Block a user