File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ public static function create($source)
51
51
*/
52
52
public function __construct (AnonymousResourceCollection $ collection )
53
53
{
54
- $ this ->request = app ('datatables.request ' );
55
- $ this ->config = app ('datatables.config ' );
54
+ $ this ->request = app ('datatables.request ' );
55
+ $ this ->config = app ('datatables.config ' );
56
56
$ this ->collection = collect ($ collection ->toArray ($ this ->request ));
57
- $ this ->original = $ collection ;
58
- $ this ->columns = array_keys ($ this ->serialize (collect ($ collection ->toArray ($ this ->request ))->first ()));
57
+ $ this ->original = $ collection ;
58
+ $ this ->columns = array_keys ($ this ->serialize (collect ($ collection ->toArray ($ this ->request ))->first ()));
59
59
if ($ collection ->resource instanceof LengthAwarePaginator) {
60
60
$ this ->isFilterApplied = true ;
61
61
}
You can’t perform that action at this time.
0 commit comments