Arcadei...
This commit is contained in:
@@ -25,9 +25,15 @@ const MyPageSchema = new Schema({
|
||||
title: {
|
||||
type: String,
|
||||
},
|
||||
subtitle: {
|
||||
type: String,
|
||||
},
|
||||
icon: {
|
||||
type: String,
|
||||
},
|
||||
iconsize: {
|
||||
type: String,
|
||||
},
|
||||
order: {
|
||||
type: Number,
|
||||
default: 1000,
|
||||
@@ -116,6 +122,9 @@ const MyPageSchema = new Schema({
|
||||
infooter: {
|
||||
type: Boolean,
|
||||
},
|
||||
extraclass: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
|
||||
MyPageSchema.statics.getFieldsForSearch = function () {
|
||||
@@ -147,6 +156,7 @@ MyPageSchema.statics.findOnlyStruttRec = function (idapp) {
|
||||
|
||||
return MyPage.find(myfind, {
|
||||
title: 1,
|
||||
subtitle: 1,
|
||||
icon: 1,
|
||||
order: 1,
|
||||
keywords: 1,
|
||||
@@ -156,7 +166,9 @@ MyPageSchema.statics.findOnlyStruttRec = function (idapp) {
|
||||
onlyif_logged: 1,
|
||||
only_residenti: 1,
|
||||
inmenu: 1,
|
||||
submenu: 1
|
||||
submenu: 1,
|
||||
iconsize: 1,
|
||||
extraclass: 1,
|
||||
}, (err, arrrec) => {
|
||||
return arrrec
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user