Skip to content

Commit

Permalink
don't look for records in the wrong places
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoy-googly-moogly committed Nov 13, 2024
1 parent 9a4a70b commit ec4f790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/malloy/src/model/malloy_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2401,7 +2401,7 @@ class QueryQuery extends QueryField {

findRecordAliases(context: QueryStruct, path: string[]) {
for (const seg of path) {
const field = context.getDimensionOrMeasureByName([seg]);
const field = context.getFieldByName([seg]);
if (field instanceof QueryFieldStruct) {
const qs = field.queryStruct;
if (
Expand Down

0 comments on commit ec4f790

Please sign in to comment.