Needs review
Project:
Email Field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 May 2008 at 11:44 UTC
Updated:
5 Jan 2009 at 00:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
regx commentedThis 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.
Comment #2
Michael_XIII commentedThanks, 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;
Comment #4
mroswell commentedSame as patch #1, but with feedback on sorting from comment #2, incorporated.