The absence of one line in relativity_views.inc prevents the option to sort table or list views by the Relativity: Parent Title field.
After inserting the + 'sortable' => true, line (and refreshing the views cache by resubmitting the modules admin page), I have experienced no problems (so far ...)
Apologies for not being able to write proper patch files, so here's my approximation:
<?php
'fields' => array(
'title' => array(
'name' => t('Relativity: Parent Title'),
'handler' => array(
'views_handler_field_relativity_parent_title' => t('As Link'),
'views_handler_field_relativity_parent_title_nl' => t('Without Link'),
),
+ 'sortable' => true,
'addlfields' => array('nid'),
'help' => t('Display the title of the parent node'),
),
),
'sorts' => array(
?>Hope it helps.
Comments
Comment #1
darius commentedIf anyone else can comment/test this, please do. Otherwise, I will commit this patch in a week or so. Thanks.
Comment #2
JohnG-1 commentedComment #3
darius commentedComment #4
(not verified) commented