Closed (fixed)
Project:
Views Autocomplete Filters
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2012 at 15:50 UTC
Updated:
5 Dec 2012 at 16:30 UTC
The commit a6f25c0 breaks autocomplete filters for fields.
$handler->field == $this->field ignores the fact that the fields may be called ie. field_name_value or field_name_email, where if ($handler->field == $this->field) won't match.
I guess it also needs a fix in views_autocomplete_filter():
$filters = $display_handler->get_option('filters');
if (empty($filters[$filter_name]['exposed']) || empty($filters[$filter_name]['expose']['autocomplete_filter'])) {
return drupal_not_found();
}
Comments
Comment #1
vasikeindeed. thank you Sir.
here is the commit http://drupalcode.org/project/views_autocomplete_filters.git/commit/1a6598c
that change the data to be cheked, now it cheks by real_field
please reopen if it's not fixed. thanks again and always.