"View Details" Doesn't Correctly Display Row Details in Questions with 1:Many Join
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
### Describe the bug
When selecting "View Details" for a Question with a one to many join, the modal doesn't display the correct details for the full row.
[https://www.loom.com/share/54c00667db384355b05f67c350d3da2e](https://www.loom.com/share/54c00667db384355b05f67c350d3da2e)
### To Reproducell
1. Join sample people + orders
2. View in a table
3. Select "View Details" on the 2nd or 3rd record and notice the order details are not correct for that row.
This works as expected if promoted to a model.
### Expected behavior
We should display the details for the row in the modal.
### Logs
*No response*
### Information about your Metabase installation
```JSON
{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"metabase-info": {
"databases": [
"postgres",
"redshift",
"bigquery-cloud-sdk",
"athena",
"h2"
],
"run-mode": "prod",
"plan-alias": "enterprise-self-hosted",
"version": {
"date": "2025-09-05",
"tag": "v1.56.4.4",
"hash": "b4a77e5"
},
"settings": {
"report-timezone": null
},
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "15.1 (Debian 15.1-1.pgdg110+1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.7.7"
}
}
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "21.0.8+9-LTS",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "21.0.8",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "21.0.8+9-LTS",
"os.name": "Linux",
"os.version": "5.15.167.4-microsoft-standard-WSL2",
"user.language": "en",
"user.timezone": "GMT"
}
}
```
### Severity
annoying
### Additional context
*No response*
Contributor guide
Research direction
Start by reproducing the issue with the sample people and orders join, viewing the results as a table, and selecting View Details on the second or third record. Trace the View Details modal for joined questions; done means it displays the selected row's correct order details while preserving the behavior for questions promoted to models.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100