Fixed #5293 - component category drilldown

This commit is contained in:
snipe 2018-04-02 16:12:19 -07:00
parent 79f061be93
commit 201efecafa

View file

@ -35,6 +35,10 @@ class ComponentsController extends Controller
$components->where('company_id','=',$request->input('company_id'));
}
if ($request->has('category_id')) {
$components->where('category_id','=',$request->input('category_id'));
}
$offset = request('offset', 0);
$limit = request('limit', 50);