mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
table changes
This commit is contained in:
@@ -6,13 +6,13 @@ use App\Models\Country;
|
||||
use Livewire\Component;
|
||||
use RalphJSmit\Laravel\SEO\Support\SEOData;
|
||||
|
||||
class CouseTable extends Component
|
||||
class CourseTable extends Component
|
||||
{
|
||||
public Country $country;
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.school.couse-table')->layout('layouts.app', [
|
||||
return view('livewire.school.course-table')->layout('layouts.app', [
|
||||
'SEOData' => new SEOData(
|
||||
title: __('Courses'),
|
||||
description: __('Choose your city, search for courses in the surrounding area and select a topic that suits you.'),
|
||||
@@ -70,7 +70,7 @@ class EventTable extends Component
|
||||
'#table',
|
||||
'country' => $this->country->code,
|
||||
'year' => $this->year,
|
||||
'table' => [
|
||||
'course_events' => [
|
||||
'filters' => [
|
||||
'byid' => $id,
|
||||
],
|
||||
@@ -84,7 +84,7 @@ class EventTable extends Component
|
||||
'#table',
|
||||
'country' => $this->country->code,
|
||||
'year' => $this->year,
|
||||
'table' => [
|
||||
'course_events' => [
|
||||
'filters' => [
|
||||
'byid' => $ids,
|
||||
]
|
||||
|
||||
@@ -8,10 +8,10 @@ use Livewire\Component;
|
||||
class SearchByTagComponent extends Component
|
||||
{
|
||||
public string $country = 'de';
|
||||
public ?array $table = [];
|
||||
public ?array $courses = [];
|
||||
|
||||
protected $queryString = [
|
||||
'table',
|
||||
'courses',
|
||||
];
|
||||
|
||||
public function render()
|
||||
|
||||
Reference in New Issue
Block a user