Rolling back prepending models to sort

This commit is contained in:
snipe 2017-10-30 21:26:25 -07:00
parent 02720f225c
commit 7f1b7be416

View file

@ -55,7 +55,7 @@ class AssetModelsController extends Controller
$assetmodels->OrderManufacturer($order);
break;
default:
$assetmodels->orderBy('models'.$sort, $order);
$assetmodels->orderBy($sort, $order);
break;
}