mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-15 00:06:48 +00:00
🌍 Scope lecturers and courses by country across views and enhance sidebar with dynamic country flags
This commit is contained in:
@@ -32,6 +32,7 @@ class extends Component {
|
||||
->where('name', 'ilike', '%'.$this->search.'%')
|
||||
->orWhere('description', 'ilike', '%'.$this->search.'%'),
|
||||
)
|
||||
->whereHas('courseEvents.venue.city.country', fn($query) => $query->where('countries.code', request()->route('country')))
|
||||
->orderByDesc('has_future_events')
|
||||
->paginate(15),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user