mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
🌍 Add dynamic country parameter to settings routes and enhance data relationships
- Updated settings route links to include `country` parameter dynamically resolved from session. - Improved relational queries by adding `city.country` to meetups map and `coursesEvents.course` to lecturers data.
This commit is contained in:
@@ -44,7 +44,7 @@ class extends Component {
|
||||
'meetups.simplex',
|
||||
'meetups.signal',
|
||||
])
|
||||
->with(['city:id,country_id,longitude,latitude'])
|
||||
->with(['city:id,country_id,longitude,latitude', 'city.country'])
|
||||
->get()
|
||||
->map(function ($meetup) {
|
||||
$meetup->load(['meetupEvents' => function($query) {
|
||||
|
||||
Reference in New Issue
Block a user