From 62807496d5475d58b68de6050e535556bec49a38 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 30 Jan 2023 23:35:34 +0100 Subject: [PATCH] routes/console.php: for card:list hide subject_type computed attribute. --- routes/console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/console.php b/routes/console.php index 78d4a6c..f3a1fc2 100644 --- a/routes/console.php +++ b/routes/console.php @@ -170,7 +170,7 @@ Artisan::command('card:list {--trashed}', function ($trashed) { $cols[] = 'deleted_at'; $q->onlyTrashed(); } - $data = $q->select($cols)->get()->makeHidden('subject'); + $data = $q->select($cols)->get()->makeHidden(['subject', 'subject_type']); $this->table($cols, $data); })->purpose('list cards');