Hello, I'm trying to alter a query that the view is doing to have the arguments passed doing a LIKE instead of an =
I'm using the _query_views_alter but it does ot look like it has been called at all.
Here is the code:

function mymodule_contact_query_views_alter(QueryAlterableInterface $query) {
  watchdog('cccc', print_r($query, TRUE));	 
}

Comments

dawehner’s picture

If it's not called it's a bug of core, we just add the tag.

damien tournoud’s picture

Category: bug » support

Most likely you forgot to clear the cache or something like that.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Update status.

paoloteo’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

confirmed.
My fault, even if I thought I did clear cache, probably I did not.