mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
only grabs custom Fields that are not encrpyted
This commit is contained in:
parent
4327653d70
commit
bb2c73348d
|
@ -67,7 +67,7 @@ class LabelsController extends Controller
|
||||||
$exampleAsset->model->category->id = 999999;
|
$exampleAsset->model->category->id = 999999;
|
||||||
$exampleAsset->model->category->name = trans('admin/labels/table.example_category');
|
$exampleAsset->model->category->name = trans('admin/labels/table.example_category');
|
||||||
|
|
||||||
$customFieldColumns = CustomField::all()->pluck('db_column');
|
$customFieldColumns = CustomField::where('field_encrypted', '=', 0)->pluck('db_column');
|
||||||
|
|
||||||
collect(explode(';', Setting::getSettings()->label2_fields))
|
collect(explode(';', Setting::getSettings()->label2_fields))
|
||||||
->filter()
|
->filter()
|
||||||
|
|
Loading…
Reference in a new issue