add shipping rules
This commit is contained in:
@@ -2,11 +2,9 @@
|
||||
|
||||
namespace App\Datatables\Admin\Core;
|
||||
|
||||
use Yajra\DataTables\Html\Column;
|
||||
use App\Datatables\ParentDataTable as DataTable;
|
||||
|
||||
use App\Models\Core\Comment;
|
||||
use App\Repositories\Core\Comments;
|
||||
use Yajra\DataTables\Html\Column;
|
||||
|
||||
class CommentsDataTable extends DataTable
|
||||
{
|
||||
@@ -20,6 +18,7 @@ class CommentsDataTable extends DataTable
|
||||
public function query(Comment $model)
|
||||
{
|
||||
$model = $model::with(['user'])->select('*');
|
||||
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user