diff --git a/app/Http/Controllers/Dashboard/ContentRecapController.php b/app/Http/Controllers/Dashboard/ContentRecapController.php index ba2aeab..2f6453e 100644 --- a/app/Http/Controllers/Dashboard/ContentRecapController.php +++ b/app/Http/Controllers/Dashboard/ContentRecapController.php @@ -14,7 +14,13 @@ class ContentRecapController extends Controller public function index(Request $request){ return view('dashboard.content-recaps.index', [ 'title' => 'Rekap Konten', - 'classification' => $request->input('classification', null) + 'classifications' => ContentRecapClassification::all(), + 'classification' => $request->input('classification', null), + 'channel' => $request->input('channel', null), + 'social_media' => $request->input('social_media', null), + 'posted_year' => $request->input('posted_year', null), + 'posted_month' => $request->input('posted_month', null), + 'posted_date' => $request->input('posted_date', null), ]); } diff --git a/resources/views/dashboard/content-recaps/index.blade.php b/resources/views/dashboard/content-recaps/index.blade.php index f63973d..e4254ca 100644 --- a/resources/views/dashboard/content-recaps/index.blade.php +++ b/resources/views/dashboard/content-recaps/index.blade.php @@ -16,18 +16,23 @@
+