mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Added created_at to status labels for consistency
This commit is contained in:
parent
b423fa3bd4
commit
66f724cd35
|
@ -21,9 +21,9 @@ class StatuslabelsController extends Controller
|
||||||
public function index(Request $request)
|
public function index(Request $request)
|
||||||
{
|
{
|
||||||
$this->authorize('view', Statuslabel::class);
|
$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');
|
->withCount('assets');
|
||||||
|
|
||||||
if ($request->has('search')) {
|
if ($request->has('search')) {
|
||||||
|
|
Loading…
Reference in a new issue