Added created_at to status labels for consistency

This commit is contained in:
snipe 2017-01-13 07:55:03 -08:00
parent b423fa3bd4
commit 66f724cd35

View file

@ -21,9 +21,9 @@ class StatuslabelsController extends Controller
public function index(Request $request)
{
$this->authorize('view', Statuslabel::class);
$allowed_columns = ['id','name'];
$allowed_columns = ['id','name','created_at'];
$statuslabels = Statuslabel::select(['id','name','deployable','pending','archived','color','show_in_nav'])
$statuslabels = Statuslabel::select(['id','name','deployable','pending','archived','color','show_in_nav','created_at'])
->withCount('assets');
if ($request->has('search')) {