Advertisement
jcisio

Untitled

Oct 11th, 2011
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 7.14 KB | None | 0 0
  1. Index: cnap_integration.views_default.inc
  2. ===================================================================
  3. --- cnap_integration.views_default.inc  (révision 1039)
  4. +++ cnap_integration.views_default.inc  (copie de travail)
  5. @@ -21843,24 +21843,25 @@
  6.        'field' => 'type',
  7.        'relationship' => 'none',
  8.      ),
  9. -    'tid' => array(
  10. +    'tid_4' => array(
  11.        'operator' => 'or',
  12. -      'value' => '',
  13. +      'value' => array(),
  14.        'group' => '0',
  15.        'exposed' => TRUE,
  16.        'expose' => array(
  17. -        'operator' => 'tid_op',
  18. -        'label' => 'type d\'événement',
  19.          'use_operator' => 0,
  20. +        'operator' => 'tid_4_op',
  21.          'identifier' => 'evenement',
  22. +        'label' => 'type d\'événement',
  23.          'optional' => 1,
  24.          'single' => 1,
  25.          'remember' => 0,
  26. +        'reduce' => 0,
  27.        ),
  28.        'type' => 'select',
  29.        'limit' => TRUE,
  30.        'vid' => '3',
  31. -      'id' => 'tid',
  32. +      'id' => 'tid_4',
  33.        'table' => 'term_node',
  34.        'field' => 'tid',
  35.        'hierarchy' => 0,
  36. @@ -21870,14 +21871,14 @@
  37.        'relationship' => 'none',
  38.        'reduce_duplicates' => 0,
  39.      ),
  40. -    'tid_1' => array(
  41. +    'tid_5' => array(
  42.        'operator' => 'or',
  43.        'value' => array(),
  44.        'group' => '0',
  45.        'exposed' => TRUE,
  46.        'expose' => array(
  47.          'use_operator' => 0,
  48. -        'operator' => 'tid_1_op',
  49. +        'operator' => 'tid_5_op',
  50.          'identifier' => 'discipline',
  51.          'label' => 'discipline',
  52.          'optional' => 1,
  53. @@ -21888,7 +21889,7 @@
  54.        'type' => 'select',
  55.        'limit' => TRUE,
  56.        'vid' => '2',
  57. -      'id' => 'tid_1',
  58. +      'id' => 'tid_5',
  59.        'table' => 'term_node',
  60.        'field' => 'tid',
  61.        'hierarchy' => 0,
  62. @@ -21898,16 +21899,16 @@
  63.        'relationship' => 'none',
  64.        'reduce_duplicates' => 0,
  65.      ),
  66. -    'tid_2' => array(
  67. +    'tid' => array(
  68.        'operator' => 'or',
  69.        'value' => array(),
  70.        'group' => '0',
  71.        'exposed' => TRUE,
  72.        'expose' => array(
  73.          'use_operator' => 0,
  74. -        'operator' => 'tid_2_op',
  75. +        'operator' => 'tid_op',
  76.          'identifier' => 'region',
  77. -        'label' => 'region',
  78. +        'label' => 'région',
  79.          'optional' => 1,
  80.          'single' => 1,
  81.          'remember' => 0,
  82. @@ -21916,7 +21917,7 @@
  83.        'type' => 'select',
  84.        'limit' => TRUE,
  85.        'vid' => '11',
  86. -      'id' => 'tid_2',
  87. +      'id' => 'tid',
  88.        'table' => 'term_node',
  89.        'field' => 'tid',
  90.        'hierarchy' => 0,
  91. @@ -21926,16 +21927,16 @@
  92.        'relationship' => 'field_evenement_lieu_nid',
  93.        'reduce_duplicates' => 0,
  94.      ),
  95. -    'tid_3' => array(
  96. +    'tid_1' => array(
  97.        'operator' => 'or',
  98.        'value' => array(),
  99.        'group' => '0',
  100.        'exposed' => TRUE,
  101.        'expose' => array(
  102.          'use_operator' => 0,
  103. -        'operator' => 'tid_3_op',
  104. +        'operator' => 'departement_op',
  105.          'identifier' => 'departement',
  106. -        'label' => 'departement',
  107. +        'label' => 'département',
  108.          'optional' => 1,
  109.          'single' => 1,
  110.          'remember' => 0,
  111. @@ -21944,7 +21945,7 @@
  112.        'type' => 'select',
  113.        'limit' => TRUE,
  114.        'vid' => '12',
  115. -      'id' => 'tid_3',
  116. +      'id' => 'tid_1',
  117.        'table' => 'term_node',
  118.        'field' => 'tid',
  119.        'hierarchy' => 0,
  120. @@ -21954,14 +21955,14 @@
  121.        'relationship' => 'field_evenement_lieu_nid',
  122.        'reduce_duplicates' => 0,
  123.      ),
  124. -    'tid_4' => array(
  125. +    'tid_2' => array(
  126.        'operator' => 'or',
  127.        'value' => array(),
  128.        'group' => '0',
  129.        'exposed' => TRUE,
  130.        'expose' => array(
  131.          'use_operator' => 0,
  132. -        'operator' => 'tid_4_op',
  133. +        'operator' => 'tid_2_op',
  134.          'identifier' => 'ville',
  135.          'label' => 'commune',
  136.          'optional' => 1,
  137. @@ -21972,7 +21973,7 @@
  138.        'type' => 'select',
  139.        'limit' => TRUE,
  140.        'vid' => '13',
  141. -      'id' => 'tid_4',
  142. +      'id' => 'tid_2',
  143.        'table' => 'term_node',
  144.        'field' => 'tid',
  145.        'hierarchy' => 0,
  146. @@ -21982,14 +21983,14 @@
  147.        'relationship' => 'field_evenement_lieu_nid',
  148.        'reduce_duplicates' => 0,
  149.      ),
  150. -    'tid_5' => array(
  151. +    'tid_3' => array(
  152.        'operator' => 'or',
  153.        'value' => array(),
  154.        'group' => '0',
  155.        'exposed' => TRUE,
  156.        'expose' => array(
  157.          'use_operator' => 0,
  158. -        'operator' => 'tid_5_op',
  159. +        'operator' => 'tid_3_op',
  160.          'identifier' => 'structure',
  161.          'label' => 'type de structure',
  162.          'optional' => 1,
  163. @@ -22000,7 +22001,7 @@
  164.        'type' => 'select',
  165.        'limit' => TRUE,
  166.        'vid' => '8',
  167. -      'id' => 'tid_5',
  168. +      'id' => 'tid_3',
  169.        'table' => 'term_node',
  170.        'field' => 'tid',
  171.        'hierarchy' => 0,
  172. @@ -22024,7 +22025,7 @@
  173.        'expose' => array(
  174.          'use_operator' => 0,
  175.          'operator' => 'field_evenement_dates_value2_op',
  176. -        'identifier' => 'date_fin',
  177. +        'identifier' => 'date_debut',
  178.          'label' => '',
  179.          'optional' => 1,
  180.          'remember' => 0,
  181. @@ -22041,27 +22042,27 @@
  182.        'id' => 'field_evenement_dates_value2',
  183.        'table' => 'node_data_field_evenement_dates',
  184.        'field' => 'field_evenement_dates_value2',
  185. -      'relationship' => 'none',
  186.        'override' => array(
  187.          'button' => 'Utiliser la valeur par défaut',
  188.        ),
  189. +      'relationship' => 'none',
  190.      ),
  191.      'field_evenement_dates_value' => array(
  192.        'operator' => '<=',
  193.        'value' => array(
  194. -        'min' => '2011-01-01 00:00:00',
  195. -        'max' => '2011-01-01 00:00:00',
  196.          'value' => NULL,
  197. +        'min' => NULL,
  198. +        'max' => NULL,
  199.          'default_date' => 'now',
  200.          'default_to_date' => '',
  201.        ),
  202.        'group' => '0',
  203.        'exposed' => TRUE,
  204.        'expose' => array(
  205. +        'use_operator' => 0,
  206.          'operator' => 'field_evenement_dates_value_op',
  207. +        'identifier' => 'date_fin',
  208.          'label' => '',
  209. -        'use_operator' => 0,
  210. -        'identifier' => 'date_debut',
  211.          'optional' => 1,
  212.          'remember' => 0,
  213.        ),
  214. @@ -22077,10 +22078,10 @@
  215.        'id' => 'field_evenement_dates_value',
  216.        'table' => 'node_data_field_evenement_dates',
  217.        'field' => 'field_evenement_dates_value',
  218. -      'relationship' => 'none',
  219.        'override' => array(
  220.          'button' => 'Utiliser la valeur par défaut',
  221.        ),
  222. +      'relationship' => 'none',
  223.      ),
  224.      'keys' => array(
  225.        'operator' => 'optional',
  226. @@ -22115,13 +22116,16 @@
  227.        'id' => 'status',
  228.        'table' => 'node',
  229.        'field' => 'status',
  230. +      'override' => array(
  231. +        'button' => 'Utiliser la valeur par défaut',
  232. +      ),
  233.        'relationship' => 'none',
  234.      ),
  235.    ));
  236.    $handler->override_option('title', 'Flux de recherche d\'évenements');
  237.    $handler->override_option('style_plugin', 'rss');
  238.    $handler->override_option('style_options', array(
  239. -    'mission_description' => 0,
  240. +    'mission_description' => FALSE,
  241.      'description' => 'Flux RSS',
  242.    ));
  243.    $handler->override_option('row_plugin', 'node_rss');
  244.  
  245.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement