When I try to add a term reference field as a filter criteria and change the "Selection type" from the default ("Autocomplete") to "Dropdown", the modal window immediately redirects to the wrong configuration form. This only happens if the same term reference field has already been added as a field to display in the view. If the same field is not in the "FIELDS" list, the modal window does not automatically redirect and clicking "Apply and continue" displays the correct configuration form.
To replicate the problem, create a view or edit an existing view. Add a term reference field to the list of "FIELDS". Next, add the same term reference field to the list of "FILTER CRITERIA" and select "Dropdown" as the "Selection type". Instead of displaying the configuration form for configuring the filter criteria, the "FIELDS" form is displayed allowing you to configure the display of the field.
To get around this issue, you need to add the term reference field to the "FILTER CRITERIA" list first, before adding the same field to the "FIELDS" list.
Comments
Comment #1
mustanggb commentedClosing this as outdated, feel free to re-open with updated details if it's still a problem in the latest release.
Comment #2
sidgrafix commentedJust now having this issue - have to remove all fields and add the Filter Criteria first in order to set the dropdown option as well as select the content type based on term (otherwise the terms list does not show up) - which makes for editing existing views problematic.
To confirm the issue: If the fields are added first - when trying to set the settings for the filter criteria "content with term" upon selecting "dropdown" in settings the wrong form opens (it will open the first form for the first field listed)
Current version of Drupal core is latest 7.85 and the current views module installed is 7.x-3.25
Other notes regarding this error - currently this is affecting a view with multiple blocks, the blocks use relationships (I don't know if the relationships are partly responsible for the issue or not.) I can say keeping the relationships as is deleting the fields then setting the filter criteria setting for dropdown works opening the correct form - so odds are relationships aren't the problem.