Hi,
I have a problem to set a parametric search with "Show only available options for each input" for views, where I added a view template. All filter options are greyed out/are hidden, even those that should be available.
Here detailed explanation:
I have tree types of content:
- Courses
- Trainers
- References as help content type to allow many-to-many relationships between Courses and Trainers (both set as parents of References)
I have few Trainers and Courses. I want to display the list of courses with following fields:
- Course Title
- Course Description
- Name of trainers related to the course
View Example:
Course Title 1
Description
Name of Trainer 1, Trainer 2.....
Course Title 2
Description
Name of Trainer 2, Trainer 3, Trainer 4 ....
.......etc
To create the above view I set it to display all courses and added its fields: title and description.
To display the names of related trainers I created a second view of references with query filter 'Post type Reference is a child of Trainer and Course post types', then I added the field with post title with reference to trainer( [wpv-post-link id="$trainer"]), after that I created template for this view and added this template to courses view, so I get the list of related trainer names.
As I described at the beginning I have also a parametric search, where I can choose a type of course, and I would like to use an option: "Show only available options for each input" what unfortunately doesn't work with the view, where I also have a view template added.
Below the link to view without view template of related trainer names, everything works fine.
hidden link
And here similar view with view template that displays related trainer names for every course, but the parametric search doesn't work, all options are hidden/greyed out.
hidden link
I would appreciate any help with this issue.
Regards,
Michael