add value host email and password from db global settings table
This commit is contained in:
@@ -14,13 +14,13 @@ class ImportDatasourceController extends Controller
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
$query = ImportDatasource::query();
|
||||
$query = ImportDatasource::query()->orderBy('id', 'desc');
|
||||
|
||||
if($request->has("search") && !empty($request->get("search"))){
|
||||
$search = $request->get("search");
|
||||
$query->where('status', 'like', "%".$search."%");
|
||||
}
|
||||
return ImportDatasourceResource::collection($query->paginate()->withQueryString());
|
||||
return ImportDatasourceResource::collection($query->paginate(10));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user