Unable to add more than one filter in autocomplete view

Created on 26 July 2016, almost 8 years ago
Updated 3 July 2023, 12 months ago

When editing the supplied view (at /admin/structure/views/view/nodes_autocomplete) and adding a second filter, exposed or not, it would just be ignored when trying out the search suggestions.

All my filters were connected by "AND". I tried adding a "Content: Type (=Article)" and a "Content: Published (=Yes)" filter, for example. Also, when trying to ad a contextual filter with a default value to the nodes_autocomplete view was also ignored, even though it is reported to work here β†’ .

In all these cases, the additional filters would have their desired effects on the view preview page (e.g. http://www.example.com/en/admin/structure/views/nojs/preview/nodes_autocomplete/page?title=test), but they would have no effect when using the real URL (e.g. http://www.example.com/de/nodes-autocomplete?title=test).

Workaround: When recreating the same JSON output with View Datasource β†’ (module views_json) as suggested here β†’ , there were no issues and adding a second, third etc. filter went flawlessly.

πŸ› Bug report
Status

Closed: outdated

Version

4.7

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany tanius

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024