Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
for (let subKey in catalogs[key]) {
let found = _.find(catalogs[key][subKey], {id: fieldKeyArray[0]});
if (found) {
for (let subKey in catalogs[key]) {
let found = _.find(catalogs[key][subKey], {id: fieldKeyArray[0]});
if (found) {
- results = this.getResults(found, pathArray.splice(-i, i));
+ results = this.getAbsoluteResults(found, pathArray.splice(-i, i));
for (let foundKey in found) {
let topLevel = _.find(found[foundKey], {id: fieldKeyArray[1]});
if (topLevel) {
for (let foundKey in found) {
let topLevel = _.find(found[foundKey], {id: fieldKeyArray[1]});
if (topLevel) {
- results = this.getResults(topLevel, pathArray.splice(-i, i));
+ results = this.getAbsoluteResults(topLevel, pathArray.splice(-i, i));