I have created a custom filter.xml to search for specific documents. Using Joomla's category system, I have also create 3 main categories. Courtrolls, Newsletter and communique.
In my filter form, I have the following field:
<field type="category"
category="19"
name="roll"
extension="com_courtroll"
label="Select a category"
description=""
default="19"
/>
The problem is that I only want to have Courtrolls and its subcategories in this field, but it shows all my components categories.