mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
better layout
This commit is contained in:
@@ -81,8 +81,11 @@ class MeetupTable extends DataTableComponent
|
|||||||
|
|
||||||
public function meetupEventSearch($id)
|
public function meetupEventSearch($id)
|
||||||
{
|
{
|
||||||
|
$meetup = Meetup::with(['city.country'])
|
||||||
|
->find($id);
|
||||||
|
|
||||||
return to_route('meetup.table.meetupEvent', [
|
return to_route('meetup.table.meetupEvent', [
|
||||||
'country' => $this->country,
|
'country' => $this->country ?? $meetup->city->country->code,
|
||||||
'table' => [
|
'table' => [
|
||||||
'filters' => ['bymeetupid' => $id],
|
'filters' => ['bymeetupid' => $id],
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user