Modify the query that generates the exposed form element in Drupal
I would like to change the dropdown filter in a view, by modifying the query that generates it. I do not want to modify the form values after they got pouplated with data already, because it is huge list.
Is there a hoo开发者_运维百科k like this view-query modifier for the exposed filter generation query?
function MYMODULE_views_query_alter(&$view, &$query)
Thanks!
精彩评论