Removed comments

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-09-21 20:01:36 -07:00
parent 10ca7cffc3
commit 5d32c17a2e

View file

@ -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);