correzione numseen, numfav, ...: ora li ho aggiunti alle tabelle...

This commit is contained in:
Surya Paolo
2023-10-03 00:40:54 +02:00
parent 31598e3fbd
commit c02037b35c
5 changed files with 53 additions and 42 deletions

View File

@@ -966,6 +966,14 @@ export const shared_consts = {
10,
],
REACTIONS_FIELD:
{
numseen: 1,
numbook: 1,
numfav: 1,
numattend: 1,
},
OrderStatusStr: [
{
label: 'Nessuno',
@@ -1755,6 +1763,7 @@ export const shared_consts = {
},
getProjectForAll(proj_add: any, table?: string) {
let proj = {
idContribType: 1,
idCity: 1,
@@ -1796,6 +1805,8 @@ export const shared_consts = {
if (proj_add)
proj = Object.assign({}, proj, proj_add);
proj = {...proj, ...this.REACTIONS_FIELD};
if (table) {
let proj_add3 = this.getProjectByTable(table);
proj = Object.assign({}, proj, proj_add3);