mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Removed comments
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
10ca7cffc3
commit
5d32c17a2e
|
@ -97,14 +97,11 @@ class AccessoriesController extends Controller
|
|||
$accessories = $accessories->OrderSupplier($order);
|
||||
break;
|
||||
default:
|
||||
\Log::error('switch: order by default');
|
||||
$accessories = $accessories->orderBy($column_sort, $order);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
//$accessories->orderBy($sort, $order);
|
||||
|
||||
|
||||
$total = $accessories->count();
|
||||
$accessories = $accessories->skip($offset)->take($limit)->get();
|
||||
return (new AccessoriesTransformer)->transformAccessories($accessories, $total);
|
||||
|
|
Loading…
Reference in a new issue