Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alev's avatar
Level 4

show field from different table on an index

I have a table websites with the columns

id domain

And I have a table posts with a 'HasOne' relationship to the websites table.

id website_id text

I would like Nova not only to show the website_id on the index but also the domain from the websites table.

Any idea if and how this is possible. I tried it with several approaches but I'm stuck.

0 likes
3 replies
alev's avatar
Level 4

@van-india I looked into it. But this still doesn't explain how to use it in the Nova fields function.

Any suggestions?

Please or to participate in this conversation.