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

aktolman's avatar

Displaying matches in Nova within resource

I have a nova installation, and I want to display matching people to a booking on a bookings list.

I have a Booking resource, I want to add a link to it that would then display a list of matching people that the admin person can use.

I thought maybe I could do this with an action but I am a little unsure of how I display a popup or linked page.

Or should I create a resource specifically for the matches, and the action within the booking links to that but filtered by the booking id.

Any suggestions welcome :)

0 likes
2 replies
aktolman's avatar

Actually I think I can do this by adding a new resource, matches, and then defining that within the fields eg within the Bookings resource I have the following:

        HasMany::make('BookingMatches'),

I will give that a go, and maybe I have answered my own question ;)

aktolman's avatar

OK - no, this does not work. I need to be able to run a specific function when linking to the matching resource, its not a direct field match. It's radial and based on other fields.

Any clue / help?

Please or to participate in this conversation.