-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
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
1 parent
0e97117
commit dde1538
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters