Skip to content
Snippets Groups Projects
Unverified Commit 8105474a authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Use Table.display_name for joined-field display_name in QP results (#10265)

[ci drivers]
parent 71bbe9ce
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@
"Return an appropriate display name for a joined field that includes the table it came from if applicable."
[field-display-name {:keys [source-table], join-alias :alias}]
(let [join-display-name (if (integer? source-table)
(:name (qp.store/table source-table))
(some (qp.store/table source-table) [:display_name :name])
join-alias)]
(format "%s → %s" join-display-name field-display-name)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment