'epublish_edition_node', 'join' => array( 'left' => array( 'table' => 'node', 'field' => 'nid' ), 'right' => array( 'field' => 'nid' ), ), 'sorts' => array( 'weight' => array( 'name' => t('EPublish: Weight'), 'help' => t('Sort by epublish weighting.'), //'handler' => 'views_handler_epublish_weight', ), ) ); $tables['epublish_edition'] = array( 'name' => 'epublish_edition', 'join' => array( 'left' => array( 'table' => 'epublish_edition_node', 'field' => 'eid' ), 'right' => array( 'field' => 'eid' ), ), 'sorts' => array( 'number' => array( 'name' => t('EPublish: Edition Number'), 'help' => t('Sort by EPublish Number.'), //'handler' => 'views_handler_epublish_weight', ), 'pubdate' => array( 'name' => t('EPublish: Edition Date'), 'help' => t('Sort by EPublish edition date.'), //'handler' => 'views_handler_epublish_weight', ), ) ); return $tables; } ?>