mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
huge Laravel 10 upgrade
This commit is contained in:
@@ -29,7 +29,7 @@ class Meetups extends Component
|
||||
|
||||
public function mount()
|
||||
{
|
||||
if (! auth()->user()) {
|
||||
if (!auth()->user()) {
|
||||
return to_route('auth.ln');
|
||||
}
|
||||
|
||||
@@ -64,6 +64,9 @@ class Meetups extends Component
|
||||
public function updatedSearch($value)
|
||||
{
|
||||
$this->meetups = Meetup::query()
|
||||
->with([
|
||||
'city',
|
||||
])
|
||||
->where('name', 'ilike', '%'.$value.'%')
|
||||
->orderBy('name')
|
||||
->limit(10)
|
||||
|
||||
Reference in New Issue
Block a user