diff --git a/app/Http/Controllers/Api/AssetsController.php b/app/Http/Controllers/Api/AssetsController.php index ea916c5182..bbdc982599 100644 --- a/app/Http/Controllers/Api/AssetsController.php +++ b/app/Http/Controllers/Api/AssetsController.php @@ -1089,6 +1089,7 @@ class AssetsController extends Controller break; case 'location': $assets->OrderLocation($order); + break; default: $assets->orderBy($column_sort, $order); break;