I have somehow managed to get filter behaviour as close as I want using multiple types and one section.
I have one section, 4 categories and every category has its own subcategories.
My parameters (the ones applying to filter) are:
Section -> Form -> Records mode -> Records in category and subcategory
Section -> Form -> Filtering mode -> Records of all section
Section -> General parametzers -> Show records at section homepage -> Show records submited to section root
Type -> Submission parameters -> Categories behaviour -> Allow section root submission -> No
When using those parameters filter module works in such a way that I can only choose Content types from select in filter. Which is great. Only after choosing Content type and clicking search I can filter other fields. Fields shown are based on selected Content type.
I'm using collapse filter template. The problems I'm facing:
If I choose one content type and click search results are filtered based on selected content type and fields in filter are also from this content type collapsed
If I choose again same content type and click search results are filtered based on selected content type and fields in filter are also from this content type but uncollapsed. This happens only for digits field.
How can I achieve that all other filters will be closed when choosing Content type and search?
Second, you should put something like onchange="this.form.submit()
to content type selector so it will auto reload page and display filters from selected content type (avoid clicking search).
I have somehow managed to get filter behaviour as close as I want using multiple types and one section.
I have one section, 4 categories and every category has its own subcategories.
My parameters (the ones applying to filter) are:
Section -> Form -> Records mode -> Records in category and subcategory
Section -> Form -> Filtering mode -> Records of all section
Section -> General parametzers -> Show records at section homepage -> Show records submited to section root
Type -> Submission parameters -> Categories behaviour -> Allow section root submission -> No
When using those parameters filter module works in such a way that I can only choose Content types from select in filter. Which is great. Only after choosing Content type and clicking search I can filter other fields. Fields shown are based on selected Content type.
I'm using collapse filter template. The problems I'm facing:
If I choose one content type and click search results are filtered based on selected content type and fields in filter are also from this content type collapsed
If I choose again same content type and click search results are filtered based on selected content type and fields in filter are also from this content type but uncollapsed. This happens only for digits field.
How can I achieve that all other filters will be closed when choosing Content type and search?
Second, you should put something like
onchange="this.form.submit()
to content type selector so it will auto reload page and display filters from selected content type (avoid clicking search).