- 🇷🇴Romania vasike Ramnicu Valcea
I think this should be part of https://www.drupal.org/project/views_autocomplete_filters/issues/3259438 ✨ Not working with contextual filters Fixed
So closing as "duplicate" - cleanup the queue.
If the view using an autocomplete field has contextual filters, Views Autocomplete Filters attempts to set their values before returning any autocomplete results. Filter values are taken from the autocomplete URL, where they appear as a string in which individual values are separated with '||'. This string is passed through PHP's explode() and given to ViewExecutable::setArguments().
If any filter value happens to be empty, an empty string ('') gets passed to setArguments. This results in a faulty query, e.g. WHERE fieldname = "" or WHERE fieldname IN(), and no results are returned. To prevent this and make Views bypass the empty argument, any empty values must be set to NULL.
Patch attached.
Closed: duplicate
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think this should be part of https://www.drupal.org/project/views_autocomplete_filters/issues/3259438 ✨ Not working with contextual filters Fixed
So closing as "duplicate" - cleanup the queue.