mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
direct links
This commit is contained in:
@@ -25,6 +25,10 @@ class Meetups extends Component
|
|||||||
|
|
||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
|
if (!auth()->user()) {
|
||||||
|
return to_route('auth.ln');
|
||||||
|
}
|
||||||
|
|
||||||
$this->meetups = Meetup::query()
|
$this->meetups = Meetup::query()
|
||||||
->where('name', 'ilike', '%'.$this->search.'%')
|
->where('name', 'ilike', '%'.$this->search.'%')
|
||||||
->orderBy('name')
|
->orderBy('name')
|
||||||
|
|||||||
Reference in New Issue
Block a user