added weight field to publications
This commit is contained in:
@@ -270,6 +270,10 @@ function materio_home_v2_views_default_views() {
|
||||
$handler->display->display_options['fields']['title']['label'] = '';
|
||||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||||
/* Critère de tri: Contenu : weight (field_weight) */
|
||||
$handler->display->display_options['sorts']['field_weight_value']['id'] = 'field_weight_value';
|
||||
$handler->display->display_options['sorts']['field_weight_value']['table'] = 'field_data_field_weight';
|
||||
$handler->display->display_options['sorts']['field_weight_value']['field'] = 'field_weight_value';
|
||||
/* Critère de tri: Contenu : Date de publication */
|
||||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||||
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
||||
|
||||
Reference in New Issue
Block a user