aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-06 14:22:26 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-06 14:22:26 -0200
commit1500660c3e2d43c98bece5b62ae4548133dd03e3 (patch)
treedfaf65bd48ae1a2e7c5da8a6701d5a9921173856
parent9fe2bfe328145ac630d18929c0197c98402381f1 (diff)
downloadmuamba-1500660c3e2d43c98bece5b62ae4548133dd03e3.tar.gz
muamba-1500660c3e2d43c98bece5b62ae4548133dd03e3.tar.bz2
Updating views
-rw-r--r--features/muamba_interface/muamba_interface.views_default.inc310
1 files changed, 220 insertions, 90 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc
index a510fbc..eb898ef 100644
--- a/features/muamba_interface/muamba_interface.views_default.inc
+++ b/features/muamba_interface/muamba_interface.views_default.inc
@@ -393,6 +393,11 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Muambas disponíveis';
$handler->display->display_options['display_description'] = 'Muambas disponíveis';
+ $handler->display->display_options['defaults']['group_by'] = FALSE;
+ $handler->display->display_options['defaults']['query'] = FALSE;
+ $handler->display->display_options['query']['type'] = 'views_query';
+ $handler->display->display_options['query']['options']['distinct'] = TRUE;
+ $handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
@@ -455,6 +460,29 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['relationships']['flag_content_rel']['required'] = 0;
$handler->display->display_options['relationships']['flag_content_rel']['flag'] = 'bookmarks';
$handler->display->display_options['defaults']['fields'] = FALSE;
+ /* Campo: Conteúdo: Nid */
+ $handler->display->display_options['fields']['nid']['id'] = 'nid';
+ $handler->display->display_options['fields']['nid']['table'] = 'node';
+ $handler->display->display_options['fields']['nid']['field'] = 'nid';
+ $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
+ $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['nid']['element_label_colon'] = 1;
+ $handler->display->display_options['fields']['nid']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['nid']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['nid']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0;
+ $handler->display->display_options['fields']['nid']['link_to_node'] = 0;
/* Campo: Conteúdo: Foto */
$handler->display->display_options['fields']['field_foto']['id'] = 'field_foto';
$handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto';
@@ -636,6 +664,10 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['defaults']['use_more'] = FALSE;
$handler->display->display_options['use_more'] = TRUE;
$handler->display->display_options['use_more_text'] = 'mais';
+ $handler->display->display_options['defaults']['query'] = FALSE;
+ $handler->display->display_options['query']['type'] = 'views_query';
+ $handler->display->display_options['query']['options']['distinct'] = TRUE;
+ $handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
@@ -763,6 +795,51 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['ops']['empty_zero'] = 0;
$handler->display->display_options['fields']['ops']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['ops']['link_type'] = 'toggle';
+ /* Campo: Conteúdo: Nid */
+ $handler->display->display_options['fields']['nid']['id'] = 'nid';
+ $handler->display->display_options['fields']['nid']['table'] = 'node';
+ $handler->display->display_options['fields']['nid']['field'] = 'nid';
+ $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
+ $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['nid']['element_label_colon'] = 1;
+ $handler->display->display_options['fields']['nid']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['nid']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['nid']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0;
+ $handler->display->display_options['fields']['nid']['link_to_node'] = 0;
+ /* Campo: Global: Texto personalizado */
+ $handler->display->display_options['fields']['nothing']['id'] = 'nothing';
+ $handler->display->display_options['fields']['nothing']['table'] = 'views';
+ $handler->display->display_options['fields']['nothing']['field'] = 'nothing';
+ $handler->display->display_options['fields']['nothing']['label'] = 'Ações';
+ $handler->display->display_options['fields']['nothing']['alter']['text'] = '<a href="/request/[nid]">requisitar</a>';
+ $handler->display->display_options['fields']['nothing']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['nothing']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['nothing']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['nothing']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['nothing']['element_label_colon'] = 0;
+ $handler->display->display_options['fields']['nothing']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['nothing']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['nothing']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['nothing']['hide_alter_empty'] = 0;
$handler->display->display_options['filter_groups']['groups'] = array(
0 => 'AND',
1 => 'OR',
@@ -1307,6 +1384,10 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Favoritos';
$handler->display->display_options['display_description'] = 'Muambas favoritas (bloco)';
+ $handler->display->display_options['defaults']['query'] = FALSE;
+ $handler->display->display_options['query']['type'] = 'views_query';
+ $handler->display->display_options['query']['options']['distinct'] = TRUE;
+ $handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
@@ -1376,6 +1457,29 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['relationships']['flag_content_rel']['field'] = 'flag_content_rel';
$handler->display->display_options['relationships']['flag_content_rel']['flag'] = 'bookmarks';
$handler->display->display_options['defaults']['fields'] = FALSE;
+ /* Campo: Conteúdo: Nid */
+ $handler->display->display_options['fields']['nid']['id'] = 'nid';
+ $handler->display->display_options['fields']['nid']['table'] = 'node';
+ $handler->display->display_options['fields']['nid']['field'] = 'nid';
+ $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
+ $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['nid']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['nid']['element_label_colon'] = 1;
+ $handler->display->display_options['fields']['nid']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['nid']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['nid']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0;
+ $handler->display->display_options['fields']['nid']['link_to_node'] = 0;
/* Campo: Conteúdo: Foto */
$handler->display->display_options['fields']['field_foto']['id'] = 'field_foto';
$handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto';
@@ -1478,51 +1582,6 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['name']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['name']['link_to_user'] = 1;
$handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
- /* Campo: Muamba: Ativo */
- $handler->display->display_options['fields']['active']['id'] = 'active';
- $handler->display->display_options['fields']['active']['table'] = 'muamba';
- $handler->display->display_options['fields']['active']['field'] = 'active';
- $handler->display->display_options['fields']['active']['label'] = 'Disponível?';
- $handler->display->display_options['fields']['active']['alter']['alter_text'] = 0;
- $handler->display->display_options['fields']['active']['alter']['make_link'] = 0;
- $handler->display->display_options['fields']['active']['alter']['absolute'] = 0;
- $handler->display->display_options['fields']['active']['alter']['external'] = 0;
- $handler->display->display_options['fields']['active']['alter']['replace_spaces'] = 0;
- $handler->display->display_options['fields']['active']['alter']['trim_whitespace'] = 0;
- $handler->display->display_options['fields']['active']['alter']['nl2br'] = 0;
- $handler->display->display_options['fields']['active']['alter']['word_boundary'] = 1;
- $handler->display->display_options['fields']['active']['alter']['ellipsis'] = 1;
- $handler->display->display_options['fields']['active']['alter']['strip_tags'] = 0;
- $handler->display->display_options['fields']['active']['alter']['trim'] = 0;
- $handler->display->display_options['fields']['active']['alter']['html'] = 0;
- $handler->display->display_options['fields']['active']['element_label_colon'] = 1;
- $handler->display->display_options['fields']['active']['element_default_classes'] = 1;
- $handler->display->display_options['fields']['active']['hide_empty'] = 0;
- $handler->display->display_options['fields']['active']['empty_zero'] = 0;
- $handler->display->display_options['fields']['active']['hide_alter_empty'] = 0;
- $handler->display->display_options['fields']['active']['not'] = 1;
- /* Campo: Muamba: Status */
- $handler->display->display_options['fields']['status']['id'] = 'status';
- $handler->display->display_options['fields']['status']['table'] = 'muamba';
- $handler->display->display_options['fields']['status']['field'] = 'status';
- $handler->display->display_options['fields']['status']['exclude'] = TRUE;
- $handler->display->display_options['fields']['status']['alter']['alter_text'] = 0;
- $handler->display->display_options['fields']['status']['alter']['make_link'] = 0;
- $handler->display->display_options['fields']['status']['alter']['absolute'] = 0;
- $handler->display->display_options['fields']['status']['alter']['external'] = 0;
- $handler->display->display_options['fields']['status']['alter']['replace_spaces'] = 0;
- $handler->display->display_options['fields']['status']['alter']['trim_whitespace'] = 0;
- $handler->display->display_options['fields']['status']['alter']['nl2br'] = 0;
- $handler->display->display_options['fields']['status']['alter']['word_boundary'] = 1;
- $handler->display->display_options['fields']['status']['alter']['ellipsis'] = 1;
- $handler->display->display_options['fields']['status']['alter']['strip_tags'] = 0;
- $handler->display->display_options['fields']['status']['alter']['trim'] = 0;
- $handler->display->display_options['fields']['status']['alter']['html'] = 0;
- $handler->display->display_options['fields']['status']['element_label_colon'] = 1;
- $handler->display->display_options['fields']['status']['element_default_classes'] = 1;
- $handler->display->display_options['fields']['status']['hide_empty'] = 0;
- $handler->display->display_options['fields']['status']['empty_zero'] = 0;
- $handler->display->display_options['fields']['status']['hide_alter_empty'] = 0;
/* Campo: Flags: Flag link */
$handler->display->display_options['fields']['ops']['id'] = 'ops';
$handler->display->display_options['fields']['ops']['table'] = 'flag_content';
@@ -1547,10 +1606,28 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['ops']['empty_zero'] = 0;
$handler->display->display_options['fields']['ops']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['ops']['link_type'] = 'toggle';
- $handler->display->display_options['filter_groups']['groups'] = array(
- 0 => 'AND',
- 1 => 'OR',
- );
+ /* Campo: Muamba: Availability */
+ $handler->display->display_options['fields']['available']['id'] = 'available';
+ $handler->display->display_options['fields']['available']['table'] = 'muamba';
+ $handler->display->display_options['fields']['available']['field'] = 'available';
+ $handler->display->display_options['fields']['available']['label'] = 'Disponível?';
+ $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['available']['element_label_colon'] = 0;
+ $handler->display->display_options['fields']['available']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['available']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['available']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Conteúdo: Publicado */
$handler->display->display_options['filters']['status']['id'] = 'status';
@@ -1574,18 +1651,6 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['filters']['uid_current']['relationship'] = 'uid';
$handler->display->display_options['filters']['uid_current']['value'] = '0';
$handler->display->display_options['filters']['uid_current']['group'] = 0;
- /* Filter criterion: Muamba: Ativo */
- $handler->display->display_options['filters']['active']['id'] = 'active';
- $handler->display->display_options['filters']['active']['table'] = 'muamba';
- $handler->display->display_options['filters']['active']['field'] = 'active';
- $handler->display->display_options['filters']['active']['value'] = '1';
- $handler->display->display_options['filters']['active']['group'] = 1;
- /* Filter criterion: Muamba: Status */
- $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']['operator'] = 'empty';
- $handler->display->display_options['filters']['status_1']['group'] = 1;
/* Display: Todas (bloco) */
$handler = $view->new_display('block', 'Todas (bloco)', 'block_2');
@@ -1757,29 +1822,28 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['name']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['name']['link_to_user'] = 1;
$handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
- /* Campo: Muamba: Ativo */
- $handler->display->display_options['fields']['active']['id'] = 'active';
- $handler->display->display_options['fields']['active']['table'] = 'muamba';
- $handler->display->display_options['fields']['active']['field'] = 'active';
- $handler->display->display_options['fields']['active']['label'] = 'Disponível?';
- $handler->display->display_options['fields']['active']['alter']['alter_text'] = 0;
- $handler->display->display_options['fields']['active']['alter']['make_link'] = 0;
- $handler->display->display_options['fields']['active']['alter']['absolute'] = 0;
- $handler->display->display_options['fields']['active']['alter']['external'] = 0;
- $handler->display->display_options['fields']['active']['alter']['replace_spaces'] = 0;
- $handler->display->display_options['fields']['active']['alter']['trim_whitespace'] = 0;
- $handler->display->display_options['fields']['active']['alter']['nl2br'] = 0;
- $handler->display->display_options['fields']['active']['alter']['word_boundary'] = 1;
- $handler->display->display_options['fields']['active']['alter']['ellipsis'] = 1;
- $handler->display->display_options['fields']['active']['alter']['strip_tags'] = 0;
- $handler->display->display_options['fields']['active']['alter']['trim'] = 0;
- $handler->display->display_options['fields']['active']['alter']['html'] = 0;
- $handler->display->display_options['fields']['active']['element_label_colon'] = 0;
- $handler->display->display_options['fields']['active']['element_default_classes'] = 1;
- $handler->display->display_options['fields']['active']['hide_empty'] = 0;
- $handler->display->display_options['fields']['active']['empty_zero'] = 0;
- $handler->display->display_options['fields']['active']['hide_alter_empty'] = 0;
- $handler->display->display_options['fields']['active']['not'] = 1;
+ /* Campo: Muamba: Availability */
+ $handler->display->display_options['fields']['available']['id'] = 'available';
+ $handler->display->display_options['fields']['available']['table'] = 'muamba';
+ $handler->display->display_options['fields']['available']['field'] = 'available';
+ $handler->display->display_options['fields']['available']['label'] = 'Disponível?';
+ $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['available']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['available']['element_label_colon'] = 0;
+ $handler->display->display_options['fields']['available']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['available']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['available']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0;
/* Campo: Flags: Flag link */
$handler->display->display_options['fields']['ops']['id'] = 'ops';
$handler->display->display_options['fields']['ops']['table'] = 'flag_content';
@@ -1868,10 +1932,12 @@ function muamba_interface_views_default_views() {
t('Disponíveis'),
t('Muambas disponíveis'),
t('flag'),
+ t('Nid'),
t('Dono(a)'),
t('Favoritos'),
t('Disponíveis (bloco)'),
t('Muambas disponíveis (bloco)'),
+ t('<a href="/request/[nid]">requisitar</a>'),
t('Emprestei (bloco)'),
t('Emprestei'),
t('Muambas que emprestei (bloco)'),
@@ -1887,7 +1953,6 @@ function muamba_interface_views_default_views() {
t('Favoritas (bloco)'),
t('Muambas favoritas (bloco)'),
t('Disponível?'),
- t('Status'),
t('Todas (bloco)'),
t('Todas as muambas'),
t('Todas as muambas (bloco)'),
@@ -3235,6 +3300,16 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['changed']['empty_zero'] = 0;
$handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago';
+ /* Critério de ordenação: Muamba: Alterado */
+ $handler->display->display_options['sorts']['changed']['id'] = 'changed';
+ $handler->display->display_options['sorts']['changed']['table'] = 'muamba';
+ $handler->display->display_options['sorts']['changed']['field'] = 'changed';
+ $handler->display->display_options['sorts']['changed']['order'] = 'DESC';
+ /* Critério de ordenação: Muamba: Criado */
+ $handler->display->display_options['sorts']['created']['id'] = 'created';
+ $handler->display->display_options['sorts']['created']['table'] = 'muamba';
+ $handler->display->display_options['sorts']['created']['field'] = 'created';
+ $handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Filter criterion: Muamba: Ativo */
$handler->display->display_options['filters']['active']['id'] = 'active';
$handler->display->display_options['filters']['active']['table'] = 'muamba';
@@ -3426,6 +3501,29 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['name']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['name']['link_to_user'] = 1;
$handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
+ /* Campo: Muamba: Criado */
+ $handler->display->display_options['fields']['created']['id'] = 'created';
+ $handler->display->display_options['fields']['created']['table'] = 'muamba';
+ $handler->display->display_options['fields']['created']['field'] = 'created';
+ $handler->display->display_options['fields']['created']['label'] = 'Quando';
+ $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['created']['element_label_colon'] = 0;
+ $handler->display->display_options['fields']['created']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['created']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['created']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['created']['hide_alter_empty'] = 0;
+ $handler->display->display_options['fields']['created']['date_format'] = 'short';
/* Campo: Muamba: Status */
$handler->display->display_options['fields']['status']['id'] = 'status';
$handler->display->display_options['fields']['status']['table'] = 'muamba';
@@ -4000,6 +4098,7 @@ function muamba_interface_views_default_views() {
'name_1' => 'picture',
'picture_1' => 'picture_1',
'name' => 'picture_1',
+ 'created' => 'created',
'status' => 'status',
'changed' => 'changed',
);
@@ -4045,15 +4144,21 @@ function muamba_interface_views_default_views() {
'align' => '',
'separator' => '',
),
+ 'created' => array(
+ 'sortable' => 1,
+ 'default_sort_order' => 'desc',
+ 'align' => '',
+ 'separator' => '',
+ ),
'status' => array(
- 'sortable' => 0,
- 'default_sort_order' => 'asc',
+ 'sortable' => 1,
+ 'default_sort_order' => 'desc',
'align' => '',
'separator' => '',
),
'changed' => array(
- 'sortable' => 0,
- 'default_sort_order' => 'asc',
+ 'sortable' => 1,
+ 'default_sort_order' => 'desc',
'align' => '',
'separator' => '',
),
@@ -4240,6 +4345,29 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['name']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['name']['link_to_user'] = 1;
$handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
+ /* Campo: Muamba: Criado */
+ $handler->display->display_options['fields']['created']['id'] = 'created';
+ $handler->display->display_options['fields']['created']['table'] = 'muamba';
+ $handler->display->display_options['fields']['created']['field'] = 'created';
+ $handler->display->display_options['fields']['created']['label'] = 'Quando';
+ $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['make_link'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['absolute'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['external'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['replace_spaces'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['trim_whitespace'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['nl2br'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1;
+ $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1;
+ $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['trim'] = 0;
+ $handler->display->display_options['fields']['created']['alter']['html'] = 0;
+ $handler->display->display_options['fields']['created']['element_label_colon'] = 0;
+ $handler->display->display_options['fields']['created']['element_default_classes'] = 1;
+ $handler->display->display_options['fields']['created']['hide_empty'] = 0;
+ $handler->display->display_options['fields']['created']['empty_zero'] = 0;
+ $handler->display->display_options['fields']['created']['hide_alter_empty'] = 0;
+ $handler->display->display_options['fields']['created']['date_format'] = 'raw time ago';
/* Campo: Muamba: Status */
$handler->display->display_options['fields']['status']['id'] = 'status';
$handler->display->display_options['fields']['status']['table'] = 'muamba';
@@ -4265,6 +4393,7 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['changed']['id'] = 'changed';
$handler->display->display_options['fields']['changed']['table'] = 'muamba';
$handler->display->display_options['fields']['changed']['field'] = 'changed';
+ $handler->display->display_options['fields']['changed']['label'] = 'Última atualização';
$handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['changed']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['changed']['alter']['absolute'] = 0;
@@ -4277,7 +4406,7 @@ function muamba_interface_views_default_views() {
$handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['changed']['alter']['trim'] = 0;
$handler->display->display_options['fields']['changed']['alter']['html'] = 0;
- $handler->display->display_options['fields']['changed']['element_label_colon'] = 1;
+ $handler->display->display_options['fields']['changed']['element_label_colon'] = 0;
$handler->display->display_options['fields']['changed']['element_default_classes'] = 1;
$handler->display->display_options['fields']['changed']['hide_empty'] = 0;
$handler->display->display_options['fields']['changed']['empty_zero'] = 0;
@@ -4336,6 +4465,7 @@ function muamba_interface_views_default_views() {
t('Ativas'),
t('Geral'),
t('Dono(a)'),
+ t('Quando'),
t('Pedi (bloco)'),
t('Muambas que pedi'),
t('Última atualização'),