A free open source IT asset/license management system
Pint
snipe37a3d694d41b
diff --git a/app/Http/Controllers/Api/CategoriesController.php b/app/Http/Controllers/Api/CategoriesController.phpindex 2a4d34490c..a40a2ca053 100644--- a/app/Http/Controllers/Api/CategoriesController.php+++ b/app/Http/Controllers/Api/CategoriesController.php@@ -129,8 +129,8 @@ class CategoriesController extends Controllercase 'created_by':$categories = $categories->OrderByCreatedBy($order);break;- // This is annoying, since it's not a real relationship, which is what we usually use these switches for, but- // we call the field has_eula, not eula_text, so there won't be a matching field+ // This is annoying, since it's not a real relationship, which is what we usually use these switches for, but+ // we call the field has_eula, not eula_text, so there won't be a matching fieldcase 'has_eula':$categories = $categories->orderBy('eula_text', $order);break;