I've made some views, that have a glossary filter. When I apply some glossary filter, I can do a search with auto-complete through all content. This is not good, so I hard coded, a little this module.
My solution was to implement
hook_views_query_alter()
where I do
variable_set();
for my
$view->args[0]
(my glossary filter).
After that, in
views_autocomplete_filter()
I just set args to views
$view->set_arguments($args_from_variable_get);
Hope, this will be useful for somebody.
Closed: outdated
Code