diff --git a/app/Http/Controllers/Api/AccessoriesController.php b/app/Http/Controllers/Api/AccessoriesController.php index 3a1857b9a..8590accfd 100644 --- a/app/Http/Controllers/Api/AccessoriesController.php +++ b/app/Http/Controllers/Api/AccessoriesController.php @@ -34,6 +34,10 @@ class AccessoriesController extends Controller $accessories->where('company_id','=',$request->input('company_id')); } + if ($request->has('category_id')) { + $accessories->where('category_id','=',$request->input('category_id')); + } + if ($request->has('manufacturer_id')) { $accessories->where('manufacturer_id','=',$request->input('manufacturer_id')); } diff --git a/config/version.php b/config/version.php index 704bc3c41..24685c38f 100644 --- a/config/version.php +++ b/config/version.php @@ -1,7 +1,7 @@ 'v4.1.3', - 'build_version' => '48', - 'hash_version' => 'g74aa562', - 'full_hash' => 'v4.1.3-48-g74aa562', -); \ No newline at end of file + 'app_version' => 'v4.1.4', + 'build_version' => '173', + 'hash_version' => 'gba38b84', + 'full_hash' => 'v4.1.4-173-gba38b84', +);