Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
6dfb978d
Unverified
Commit
6dfb978d
authored
5 years ago
by
Simon Belak
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
xrays: add table name to title for fields from joined tables (#10731)
Add table name to title for fields from joined tables
parent
5e8ff50d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/metabase/automagic_dashboards/core.clj
+7
-2
7 additions, 2 deletions
src/metabase/automagic_dashboards/core.clj
with
7 additions
and
2 deletions
src/metabase/automagic_dashboards/core.clj
+
7
−
2
View file @
6dfb978d
...
...
@@ -316,8 +316,13 @@
reference
)))
(
defmethod
->reference
[
:string
(
type
Field
)]
[
_
{
:keys
[
display_name
full-name
]}]
(
or
full-name
display_name
))
[
_
{
:keys
[
display_name
full-name
link
table_id
]}]
(
cond
full-name
full-name
link
(
format
"%s → %s"
(
->
link
Field
:display_name
(
str/replace
#
"(?i)\sid$"
""
))
display_name
)
:else
display_name
))
(
defmethod
->reference
[
:string
(
type
Table
)]
[
_
{
:keys
[
display_name
full-name
]}]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment