InfiniteScroll: Le liste (Beni / Servizi / Eventi) devono essere caricate in automatico, scorrendo la lista...
fix category
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user