fix: ordinamento membri (namecomplete (concat: name, surname, username)
This commit is contained in:
@@ -6981,23 +6981,6 @@ export const tools = {
|
||||
}
|
||||
},
|
||||
|
||||
getDirectoryByTable(table: string) {
|
||||
if (table === toolsext.TABMYSKILLS) {
|
||||
return 'myservice'
|
||||
} else if (table === toolsext.TABMYBACHECAS) {
|
||||
return 'mypage'
|
||||
} else if (table === toolsext.TABMYHOSPS) {
|
||||
return 'myhosps'
|
||||
} else if (table === toolsext.TABMYGOODS) {
|
||||
return 'mygood'
|
||||
} else if (table === toolsext.TABMYGROUPS) {
|
||||
return 'grp'
|
||||
} else if (table === toolsext.TABCIRCUITS) {
|
||||
return 'circuit'
|
||||
}
|
||||
|
||||
return ''
|
||||
},
|
||||
|
||||
getFullFileName(arrimage: IImgGallery[], table: string, username: string, groupname: string) {
|
||||
// console.log('arrimage', arrimage)
|
||||
@@ -7052,21 +7035,21 @@ export const tools = {
|
||||
},
|
||||
|
||||
getPathByGroup(grp: any, table: string) {
|
||||
return '/' + tools.getDirectoryByTable(table) + '/' + grp.groupname
|
||||
return '/' + shared_consts.getDirectoryByTable(table) + '/' + grp.groupname
|
||||
},
|
||||
|
||||
getPathByCircuit(circuit: any, table: string) {
|
||||
return '/' + tools.getDirectoryByTable(table) + '/' + circuit.path
|
||||
return '/' + shared_consts.getDirectoryByTable(table) + '/' + circuit.path
|
||||
},
|
||||
|
||||
getPathByTable(table: string, pagename: string) {
|
||||
return '/' + tools.getDirectoryByTable(table) + '/' + pagename
|
||||
return '/' + shared_consts.getDirectoryByTable(table) + '/' + pagename
|
||||
},
|
||||
|
||||
getPathByTableAndRec(table: string, rec: any) {
|
||||
|
||||
if (shared_consts.TABLES_REC_ID.includes(table)) {
|
||||
return '/' + tools.getDirectoryByTable(table) + '/' + rec['_id']
|
||||
return '/' + shared_consts.getDirectoryByTable(table) + '/' + rec['_id']
|
||||
} else if (table === toolsext.TABMYGROUPS) {
|
||||
return this.getPathByGroup(rec, table)
|
||||
} else if (table === toolsext.TABCIRCUITS) {
|
||||
|
||||
Reference in New Issue
Block a user