This commit is contained in:
2025-02-10 01:58:12 +02:00
parent 25d99e7b72
commit 87bbfc33d3
242 changed files with 38662 additions and 99 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Livewire\ShowPage;
use App\Models\Show;
use App\Models\ShowSimilar;
use Livewire\Component;
class Similar extends Component
{
public $show;
public $similarShows;
public function render()
{
return view('livewire.show-page.similar');
}
public function mount()
{
$this->similarShows = Show::whereIn('id', ShowSimilar::where('show_id', $this->show->id)->pluck('similar_show_id'))
->get();
}
}