Merge branch 'develop' of https://github.com/snipe/snipe-it into develop

This commit is contained in:
snipe 2018-12-05 19:56:18 -08:00
commit 3ed2f55696

View file

@ -229,6 +229,11 @@ class LicensesController extends Controller
$offset = request('offset', 0);
$limit = request('limit', 50);
if($seats->count() < $offset){
$offset = 0;
}
$order = $request->input('order') === 'asc' ? 'asc' : 'desc';
$total = $seats->count();