Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MLv2] Look up FK columns in
visible-columns
, not metadata (#37771)
Models can override the `:id` and `:fk-target-field-id` of a column, and can even lie and treat a quantity as a FK. Therefore we have to use the query's view of the column and not the global field from the metadata. This is a speculative fix for #36400, which I can't reproduce locally.
- Loading branch information