Skip to content

Commit

Permalink
dbSearchItemListOfType(): Return "self.data", not just "data".
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemorken committed Dec 11, 2024
1 parent c0ce577 commit 1aa0f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/alasql/anyTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ anyTable.prototype.dbSearchItemListOfType = async function(id,linkType,grouping,
if (table.nameKey)
self.data[gidx]["data"][idx]["data"][lidx][table.nameKey] = self.findDefaultItemListHeader(linkType);
//console.log("item list "+linkType+":"); console.log(self.data);
return Promise.resolve(data);
return Promise.resolve(self.data);
});
} // if
}
Expand Down

0 comments on commit 1aa0f1c

Please sign in to comment.