List only main-Configs in the Main-Config-Table
This commit is contained in:
parent
63888f11e5
commit
41d79186bd
|
@ -113,7 +113,11 @@ class SettingsController extends Controller
|
||||||
|
|
||||||
public function datatable()
|
public function datatable()
|
||||||
{
|
{
|
||||||
$query = Settings::query();
|
$query = Settings::
|
||||||
|
where('key', 'like', '%SYSTEM%')
|
||||||
|
->orWhere('key', 'like', '%USER%')
|
||||||
|
->orWhere('key', 'like', '%SERVER%')
|
||||||
|
->orWhere('key', 'like', '%PAYMENTS%');
|
||||||
|
|
||||||
return datatables($query)
|
return datatables($query)
|
||||||
->addColumn('actions', function (Settings $setting) {
|
->addColumn('actions', function (Settings $setting) {
|
||||||
|
|
Loading…
Reference in a new issue