website non si vede

Stato e Contributo non te lo seleziona se clicchi a destra nel toggle
Ordinare per ultimo inserito
Corretto che Aggiungendo un Record, veniva salvato in anticipo
cancellazione Record, Inserimento Record : errori vari
This commit is contained in:
paoloar77
2022-02-17 17:43:45 +01:00
parent fc0e16f046
commit 9aa7518e31
4 changed files with 30 additions and 2 deletions

View File

@@ -72,6 +72,7 @@ const MyBachecaSchema = new Schema({
descr: {
type: String,
},
//**ADDFIELD_MYBACHECAS
website: {
type: String,
},
@@ -154,6 +155,8 @@ MyBachecaSchema.statics.executeQueryTable = function(idapp, params) {
adType: 1,
photos: 1,
note: 1,
//**ADDFIELD_MYBACHECAS
website: 1,
descr: 1,
date_created: 1,
date_updated: 1,
@@ -239,6 +242,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYBACHECAS
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -289,6 +294,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYBACHECAS
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -339,6 +346,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYBACHECAS
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -389,6 +398,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYBACHECAS
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -439,6 +450,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYBACHECAS
'descr': 1,
'date_created': 1,
'date_updated': 1,

View File

@@ -58,6 +58,7 @@ const MyGroupSchema = new Schema({
type: String,
default: '',
},
//**ADDFIELD_MYGROUPS
visibility: [
{
type: Number,
@@ -139,6 +140,7 @@ MyGroupSchema.statics.getWhatToShow = function (idapp, username) {
photos: 1,
idCity: 1,
website: 1,
//**ADDFIELD_MYGROUPS
link_telegram: 1,
note: 1,
admins: 1,

View File

@@ -72,6 +72,7 @@ const MySkillSchema = new Schema({
descr: {
type: String,
},
//**ADDFIELD_MYSKILL
website: {
type: String,
},
@@ -154,6 +155,8 @@ MySkillSchema.statics.executeQueryTable = function(idapp, params) {
adType: 1,
photos: 1,
note: 1,
website: 1,
//**ADDFIELD_MYSKILL
descr: 1,
date_created: 1,
date_updated: 1,
@@ -238,7 +241,9 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
'numLevel': 1,
adType: 1,
'photos': 1,
'note': 1,
note: 1,
website: 1,
//**ADDFIELD_MYSKILL
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -289,6 +294,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYSKILL
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -339,6 +346,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYSKILL
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -389,6 +398,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYSKILL
'descr': 1,
'date_created': 1,
'date_updated': 1,
@@ -439,6 +450,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
adType: 1,
'photos': 1,
'note': 1,
website: 1,
//**ADDFIELD_MYSKILL
'descr': 1,
'date_created': 1,
'date_updated': 1,

View File

@@ -932,7 +932,7 @@ async function eseguiDbOp(idapp, mydata, locale) {
// Svuota e Ricrea
const {City} = require('../models/city');
const {City} = require('../modWels/city');
const {Province} = require('../models/province');
await City.deleteMany({});