mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Rolling back prepending models to sort
This commit is contained in:
parent
02720f225c
commit
7f1b7be416
|
@ -55,7 +55,7 @@ class AssetModelsController extends Controller
|
||||||
$assetmodels->OrderManufacturer($order);
|
$assetmodels->OrderManufacturer($order);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$assetmodels->orderBy('models'.$sort, $order);
|
$assetmodels->orderBy($sort, $order);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue