Email fields are not available as a filter option in Views.

Comments

regx’s picture

Status: Active » Needs review
StatusFileSize
new2.06 KB

This did the trick for me.
I don't fully grock the way CCK builds it's views code though. The views api is pretty tricky as is, and cck works quite a bit of magic.

I hope this helps out someone else.

Michael_XIII’s picture

Thanks, but your forgot to set 'sortable' => true some lines earlier - near lines 31-35

case 'database columns':
$columns = array(
'email' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => "''", 'sortable' => true),
);
return $columns;

mroswell’s picture

StatusFileSize
new2.2 KB

Same as patch #1, but with feedback on sorting from comment #2, incorporated.