There is a problem with the if statement on line 23 of term_reference_filter_by_views.module:

if (!empty($context['instance']['view']))

Specifically, it always returns TRUE, this means that term reference fields with autocomplete are always getting overridden even if the term list is not being filtered.

Patch coming up.

Comments

Jovean’s picture

StatusFileSize
new926 bytes

And ... the patch

tmsimont’s picture

Status: Active » Closed (fixed)

i had the same problem, but updating to latest dev fixed it. they must have addressed it some other way, possibly inadvertently

tmsimont’s picture

Title: Autocomplete Paths Always Overridden » hook_widget_field_form overrides all taxonomy_term_reference fields, including those not set to use views
Status: Closed (fixed) » Reviewed & tested by the community

sorry, there is in fact still a problem that this patch seems to solve.

although the options don't seem to be overridden any more in the latest dev, my logs are getting clogged up with this message:

The view %view_name is no longer eligible for the %field_name field.

It's because of the same problem the OP of this thread stated.

applying the patch in #1 resolves my problem

vasike’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.