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:
@@ -72,6 +72,7 @@ const MyBachecaSchema = new Schema({
|
|||||||
descr: {
|
descr: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
website: {
|
website: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
@@ -154,6 +155,8 @@ MyBachecaSchema.statics.executeQueryTable = function(idapp, params) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
photos: 1,
|
photos: 1,
|
||||||
note: 1,
|
note: 1,
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
|
website: 1,
|
||||||
descr: 1,
|
descr: 1,
|
||||||
date_created: 1,
|
date_created: 1,
|
||||||
date_updated: 1,
|
date_updated: 1,
|
||||||
@@ -239,6 +242,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -289,6 +294,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -339,6 +346,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -389,6 +398,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -439,6 +450,8 @@ MyBachecaSchema.statics.getMyRecById = function(idapp, id) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYBACHECAS
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ const MyGroupSchema = new Schema({
|
|||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
|
//**ADDFIELD_MYGROUPS
|
||||||
visibility: [
|
visibility: [
|
||||||
{
|
{
|
||||||
type: Number,
|
type: Number,
|
||||||
@@ -139,6 +140,7 @@ MyGroupSchema.statics.getWhatToShow = function (idapp, username) {
|
|||||||
photos: 1,
|
photos: 1,
|
||||||
idCity: 1,
|
idCity: 1,
|
||||||
website: 1,
|
website: 1,
|
||||||
|
//**ADDFIELD_MYGROUPS
|
||||||
link_telegram: 1,
|
link_telegram: 1,
|
||||||
note: 1,
|
note: 1,
|
||||||
admins: 1,
|
admins: 1,
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ const MySkillSchema = new Schema({
|
|||||||
descr: {
|
descr: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
website: {
|
website: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
@@ -154,6 +155,8 @@ MySkillSchema.statics.executeQueryTable = function(idapp, params) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
photos: 1,
|
photos: 1,
|
||||||
note: 1,
|
note: 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
descr: 1,
|
descr: 1,
|
||||||
date_created: 1,
|
date_created: 1,
|
||||||
date_updated: 1,
|
date_updated: 1,
|
||||||
@@ -238,7 +241,9 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
|
|||||||
'numLevel': 1,
|
'numLevel': 1,
|
||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
note: 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -289,6 +294,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -339,6 +346,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -389,6 +398,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
@@ -439,6 +450,8 @@ MySkillSchema.statics.getMySkillByIdkill = function(idapp, idSkill) {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
'photos': 1,
|
'photos': 1,
|
||||||
'note': 1,
|
'note': 1,
|
||||||
|
website: 1,
|
||||||
|
//**ADDFIELD_MYSKILL
|
||||||
'descr': 1,
|
'descr': 1,
|
||||||
'date_created': 1,
|
'date_created': 1,
|
||||||
'date_updated': 1,
|
'date_updated': 1,
|
||||||
|
|||||||
@@ -932,7 +932,7 @@ async function eseguiDbOp(idapp, mydata, locale) {
|
|||||||
|
|
||||||
// Svuota e Ricrea
|
// Svuota e Ricrea
|
||||||
|
|
||||||
const {City} = require('../models/city');
|
const {City} = require('../modWels/city');
|
||||||
const {Province} = require('../models/province');
|
const {Province} = require('../models/province');
|
||||||
|
|
||||||
await City.deleteMany({});
|
await City.deleteMany({});
|
||||||
|
|||||||
Reference in New Issue
Block a user