diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index 75afb43..40f010a 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -1229,7 +1229,6 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; $handler->display->display_options['filters']['status_1']['field'] = 'status'; - $handler->display->display_options['filters']['status_1']['relationship'] = 'nid'; $handler->display->display_options['filters']['status_1']['value'] = array( 1 => '1', ); @@ -1311,6 +1310,11 @@ function muamba_interface_views_default_views() { $handler->display->display_options['relationships']['owner']['table'] = 'muamba'; $handler->display->display_options['relationships']['owner']['field'] = 'owner'; $handler->display->display_options['relationships']['owner']['required'] = 0; + /* Relação: Muamba: Muamba requester user */ + $handler->display->display_options['relationships']['uid_1']['id'] = 'uid_1'; + $handler->display->display_options['relationships']['uid_1']['table'] = 'muamba'; + $handler->display->display_options['relationships']['uid_1']['field'] = 'uid'; + $handler->display->display_options['relationships']['uid_1']['required'] = 0; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Conteúdo: Foto */ $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; @@ -1513,6 +1517,12 @@ function muamba_interface_views_default_views() { 1 => '1', ); $handler->display->display_options['filters']['status_2']['group'] = 0; + /* Filter criterion: Usuário: Atual */ + $handler->display->display_options['filters']['uid_current_1']['id'] = 'uid_current_1'; + $handler->display->display_options['filters']['uid_current_1']['table'] = 'users'; + $handler->display->display_options['filters']['uid_current_1']['field'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current_1']['relationship'] = 'uid_1'; + $handler->display->display_options['filters']['uid_current_1']['value'] = '1'; /* Display: Favoritas (bloco) */ $handler = $view->new_display('block', 'Favoritas (bloco)', 'block_3'); |