Use an iteration variable in walker

This commit is contained in:
Dan Hawkins 2021-12-21 17:17:36 +00:00
commit bfb7d9fa4c

View file

@ -994,7 +994,7 @@ class MetaInfo extends GISJsonSerialised {
ii.level + 1,
nextgatheredpath,
nextgatheredmetapath,
ii.limiteddepth
ii.limiteddepth,
ii.maxdepth - 1)
def results = othermeta.walkrelated_v0_1(nextii)
ii.metacollection = results.metacollection
@ -1022,7 +1022,7 @@ class MetaInfo extends GISJsonSerialised {
ii.level + 1,
childmetainfo.nextgatheredpath,
childmetainfo.nextgatheredmetapath,
ii.limiteddepth
ii.limiteddepth,
ii.maxdepth - 1)
def results = childmetainfo.childmeta.walkrelated(nextii)
ii.metacollection = results.metacollection
@ -1035,7 +1035,7 @@ class MetaInfo extends GISJsonSerialised {
ii.level + 1,
ii.gatheredpath,
ii.gatheredmetapath,
ii.limiteddepth
ii.limiteddepth,
ii.maxdepth - 1)
def results = othermeta.walkrelated_v0_1(nextii)
ii.metacollection = results.metacollection