total
This commit is contained in:
parent
00c51c0162
commit
368995b4db
@ -61,7 +61,7 @@ class CardController extends Controller
|
|||||||
$cards->push(new OrderCardPartition(['sim' => $value, 'company_id' => 0]));
|
$cards->push(new OrderCardPartition(['sim' => $value, 'company_id' => 0]));
|
||||||
|
|
||||||
if($cards instanceof LengthAwarePaginator){
|
if($cards instanceof LengthAwarePaginator){
|
||||||
$cards = new LengthAwarePaginator($cards->items(), $cards->total + 1, $cards->perPage());
|
$cards = new LengthAwarePaginator($cards->items(), $cards->total() + 1, $cards->perPage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user