Friends, search

This commit is contained in:
paoloar77
2022-01-12 00:38:31 +01:00
parent 3de9967571
commit 45993d05c5
27 changed files with 464 additions and 152 deletions

View File

@@ -8,10 +8,15 @@ export const costanti = {
CONFIG_ID_STATE_CONN: '2',
CONFIG_ID_SHOW_TYPE_TODOS: '3',
SHOW_USERINFO: 1,
DIR_UPLOAD: 'upload/', // upload/
FRIENDS: 1,
ASK_TRUST: 2,
TRUSTED: 3,
REEJECTED: 4,
FIND_PEOPLE: 10,
FILTER_TUTTI: -100,

View File

@@ -384,6 +384,19 @@ export const colSubSkills = [
AddCol(DeleteRec),
]
export const colmyUserPeople = [
// AddCol({ name: '_id', label_trans: 'reg.id' }),
AddCol({ name: 'username', label_trans: 'reg.username_short' }),
AddCol({ name: 'name', label_trans: 'reg.name' }),
AddCol({
name: 'profile.img', field: 'profile', subfield: 'img', label_trans: 'reg.img', sortable: false,
}),
// AddCol({ name: 'sospeso', label_trans: 'reg.sospeso', fieldtype: costanti.FieldType.boolean }),
// AddCol({ name: 'deleted', label_trans: 'reg.deleted', fieldtype: costanti.FieldType.boolean }),
]
export const colmySkills = [
/*AddCol({
name: 'userId', label_trans: 'order.users', fieldtype: costanti.FieldType.string, jointable: 'users',

View File

@@ -3368,7 +3368,7 @@ export const tools = {
return mystr.replace(/\//g, '-')
},
geturlrelativeprofile() {
return 'upload/profile'
return costanti.DIR_UPLOAD + 'profile'
},
getvers() {
return process.env.APP_VERSION