Riattivato il Calendario (ma ancora non lo rendo visibile)

aggiunto campi: DateTimeStart e DateTimeEnd negli Eventi
Aggiunto Filtro Data
This commit is contained in:
paoloar77
2022-02-24 19:13:20 +01:00
parent 3be7453b2e
commit aa8dd7ddff
4 changed files with 60 additions and 16 deletions

View File

@@ -41,6 +41,12 @@ const MyBachecaSchema = new Schema({
{
type: Number,
}],
dateTimeStart: {
type: Date,
},
dateTimeEnd: {
type: Date,
},
numLevel: {
type: Number,
default: 0,
@@ -145,6 +151,8 @@ MyBachecaSchema.statics.executeQueryTable = function(idapp, params) {
MyBacheca: 1,
idStatusSkill: 1,
idContribType: 1,
dateTimeStart: 1,
dateTimeEnd: 1,
idCity: 1,
numLevel: 1,
adType: 1,
@@ -232,6 +240,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
'idSubSkill': 1,
'idStatusSkill': 1,
'idContribType': 1,
dateTimeStart: 1,
dateTimeEnd: 1,
'idCity': 1,
'numLevel': 1,
adType: 1,
@@ -284,6 +294,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
'idSubSkill': 1,
'idStatusSkill': 1,
'idContribType': 1,
dateTimeStart: 1,
dateTimeEnd: 1,
'idCity': 1,
'numLevel': 1,
adType: 1,
@@ -336,6 +348,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
'idSubSkill': 1,
'idStatusSkill': 1,
'idContribType': 1,
dateTimeStart: 1,
dateTimeEnd: 1,
'idCity': 1,
'numLevel': 1,
adType: 1,
@@ -388,6 +402,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
// 'idSubSkill': 1,
'idStatusSkill': 1,
'idContribType': 1,
dateTimeStart: 1,
dateTimeEnd: 1,
'idCity': 1,
'numLevel': 1,
adType: 1,
@@ -440,6 +456,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
// 'idSubSkill': 1,
'idStatusSkill': 1,
'idContribType': 1,
dateTimeStart: 1,
dateTimeEnd: 1,
'idCity': 1,
'numLevel': 1,
adType: 1,