- Visu Saldo su Home
- SendRisTo - Movimenti conto Comunitario - Profilo
This commit is contained in:
@@ -443,6 +443,9 @@ const UserSchema = new mongoose.Schema({
|
||||
},
|
||||
noNameSurname: {
|
||||
type: Boolean,
|
||||
},
|
||||
noFoto: {
|
||||
type: Boolean,
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -1578,6 +1581,7 @@ UserSchema.statics.getUserProfileByUsername = async function (
|
||||
'profile.born_city_id': 1,
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.calc': 1,
|
||||
'profile.handshake': 1,
|
||||
'profile.friends': 1,
|
||||
@@ -1621,6 +1625,7 @@ UserSchema.statics.getUserProfileByUsername = async function (
|
||||
'profile.born_city_id': 1,
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.calc': 1,
|
||||
'profile.handshake': 1,
|
||||
'profile.friends': 1,
|
||||
@@ -1665,6 +1670,7 @@ UserSchema.statics.getUserProfileByUsername = async function (
|
||||
'profile.born_city_id': 1,
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.calc': 1,
|
||||
'profile.handshake': 1,
|
||||
'profile.friends': 1,
|
||||
@@ -2705,6 +2711,7 @@ function getWhatToShow(idapp, username) {
|
||||
'profile.born_city_id': 1,
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.calc': 1,
|
||||
email: 1,
|
||||
date_reg: 1,
|
||||
@@ -2728,6 +2735,7 @@ function getWhatToShow_Unknown(idapp, username) {
|
||||
'profile.sex': 1,
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.calc': 1,
|
||||
date_reg: 1,
|
||||
'profile.handshake': 1,
|
||||
@@ -2749,6 +2757,7 @@ UserSchema.statics.getWhatToShow_IfFriends = async function (idapp, username) {
|
||||
'profile.sex': 1,
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.calc': 1,
|
||||
reported: 1,
|
||||
date_report: 1,
|
||||
|
||||
Reference in New Issue
Block a user