[development] Get real field and table alias in a filter handler

Lluís Forns enboig at gmail.com
Wed Oct 26 16:42:14 UTC 2011


I am developing a module to expose a filter which search for selectect
text inside selected fields of a view.

I managed to code everything (most code taken from
"http://drupal.org/project/views_groupby").

My only problem is inside query(); I add a WHERE to the query with
CONCAT(all fields) LIKE 'string'. My problem is when getting fields; i
manage to get real_field, but I cannot get table_alias.

Any hint?

-- 
*Ser freak no és imprescindible per ser informàtic, però ajuda.
*La vida no ha de ser feliç, ha de ser plena.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.


More information about the development mailing list