InfiniteScroll: Le liste (Beni / Servizi / Eventi) devono essere caricate in automatico, scorrendo la lista...

fix category
This commit is contained in:
paoloar77
2022-08-15 15:10:27 +02:00
parent a2022f96cb
commit da3d6451d5
8 changed files with 25 additions and 15 deletions

View File

@@ -237,7 +237,7 @@ MyGoodSchema.statics.getMyRecById = function(idapp, idGood) {
{
'$project': {
'recGood': 1,
'sectorgood': 1,
'sectorGood': 1,
'idSectorGood': 1,
'idGood': 1,
'idShipping': 1,
@@ -293,7 +293,7 @@ MyGoodSchema.statics.getMyRecById = function(idapp, idGood) {
{
'$project': {
'recGood': 1,
'sectorgood': 1,
'sectorGood': 1,
'idSectorGood': 1,
'idGood': 1,
'idShipping': 1,
@@ -326,9 +326,10 @@ MyGoodSchema.statics.getMyRecById = function(idapp, idGood) {
{
'$lookup': {
'from': 'sectorgoods',
'localField': 'recGood.idSectorGood',
'localField': 'idSectorGood',
// 'localField': 'recGood.idSectorGood',
'foreignField': '_id',
'as': 'sectorgood',
'as': 'sectorGood',
},
},
{
@@ -349,7 +350,7 @@ MyGoodSchema.statics.getMyRecById = function(idapp, idGood) {
{
'$project': {
'recGood': 1,
'sectorgood': 1,
'sectorGood': 1,
'idSectorGood': 1,
'idGood': 1,
'idShipping': 1,
@@ -405,7 +406,7 @@ MyGoodSchema.statics.getMyRecById = function(idapp, idGood) {
{
'$project': {
'recGood': 1,
'sectorgood': 1,
'sectorGood': 1,
'idSectorGood': 1,
'idGood': 1,
'idShipping': 1,
@@ -461,7 +462,7 @@ MyGoodSchema.statics.getMyRecById = function(idapp, idGood) {
{
'$project': {
'recGood': 1,
'sectorgood': 1,
'sectorGood': 1,
'idSectorGood': 1,
'idGood': 1,
'idShipping': 1,