childless.view.inc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?php
  2. $view = new view;
  3. $view->name = 'casetracker_unfuddle_childless';
  4. $view->description = 'Case Tracker > Migrate Unfuddle > Tickets without any followup';
  5. $view->tag = 'casetracker';
  6. $view->view_php = '';
  7. $view->base_table = 'node';
  8. $view->is_cacheable = FALSE;
  9. $view->api_version = 2;
  10. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  11. $handler = $view->new_display('default', 'Defaults', 'default');
  12. $handler->override_option('fields', array(
  13. 'title' => array(
  14. 'label' => '',
  15. 'alter' => array(
  16. 'alter_text' => 0,
  17. 'text' => '',
  18. 'make_link' => 0,
  19. 'path' => '',
  20. 'link_class' => '',
  21. 'alt' => '',
  22. 'prefix' => '',
  23. 'suffix' => '',
  24. 'target' => '',
  25. 'help' => '',
  26. 'trim' => 1,
  27. 'max_length' => '50',
  28. 'word_boundary' => 1,
  29. 'ellipsis' => 1,
  30. 'html' => 0,
  31. 'strip_tags' => 0,
  32. ),
  33. 'empty' => '',
  34. 'hide_empty' => 0,
  35. 'empty_zero' => 0,
  36. 'link_to_node' => 1,
  37. 'exclude' => 0,
  38. 'id' => 'title',
  39. 'table' => 'node',
  40. 'field' => 'title',
  41. 'relationship' => 'none',
  42. ),
  43. 'created' => array(
  44. 'label' => '',
  45. 'alter' => array(
  46. 'alter_text' => 1,
  47. 'text' => '([created])',
  48. 'make_link' => 0,
  49. 'path' => '',
  50. 'link_class' => '',
  51. 'alt' => '',
  52. 'prefix' => '',
  53. 'suffix' => '',
  54. 'target' => '',
  55. 'help' => '',
  56. 'trim' => 0,
  57. 'max_length' => '',
  58. 'word_boundary' => 1,
  59. 'ellipsis' => 1,
  60. 'html' => 0,
  61. 'strip_tags' => 0,
  62. ),
  63. 'empty' => '',
  64. 'hide_empty' => 0,
  65. 'empty_zero' => 0,
  66. 'date_format' => 'raw time ago',
  67. 'custom_date_format' => '',
  68. 'exclude' => 0,
  69. 'id' => 'created',
  70. 'table' => 'node',
  71. 'field' => 'created',
  72. 'relationship' => 'none',
  73. ),
  74. ));
  75. $handler->override_option('sorts', array(
  76. 'created' => array(
  77. 'order' => 'ASC',
  78. 'granularity' => 'second',
  79. 'id' => 'created',
  80. 'table' => 'node',
  81. 'field' => 'created',
  82. 'relationship' => 'none',
  83. ),
  84. ));
  85. $handler->override_option('filters', array(
  86. 'type' => array(
  87. 'operator' => 'in',
  88. 'value' => array(
  89. 'casetracker_basic_case' => 'casetracker_basic_case',
  90. ),
  91. 'group' => '0',
  92. 'exposed' => FALSE,
  93. 'expose' => array(
  94. 'operator' => FALSE,
  95. 'label' => '',
  96. ),
  97. 'id' => 'type',
  98. 'table' => 'node',
  99. 'field' => 'type',
  100. 'relationship' => 'none',
  101. ),
  102. 'comment_count' => array(
  103. 'operator' => '=',
  104. 'value' => array(
  105. 'value' => '0',
  106. 'min' => '',
  107. 'max' => '',
  108. ),
  109. 'group' => '0',
  110. 'exposed' => FALSE,
  111. 'expose' => array(
  112. 'operator' => FALSE,
  113. 'label' => '',
  114. ),
  115. 'id' => 'comment_count',
  116. 'table' => 'node_comment_statistics',
  117. 'field' => 'comment_count',
  118. 'relationship' => 'none',
  119. ),
  120. 'status_extra' => array(
  121. 'operator' => '=',
  122. 'value' => '',
  123. 'group' => '0',
  124. 'exposed' => FALSE,
  125. 'expose' => array(
  126. 'operator' => FALSE,
  127. 'label' => '',
  128. ),
  129. 'id' => 'status_extra',
  130. 'table' => 'node',
  131. 'field' => 'status_extra',
  132. 'relationship' => 'none',
  133. ),
  134. ));
  135. $handler->override_option('access', array(
  136. 'type' => 'none',
  137. ));
  138. $handler->override_option('cache', array(
  139. 'type' => 'none',
  140. ));
  141. $handler->override_option('title', 'Cases without any followup');
  142. $handler->override_option('items_per_page', 50);
  143. $handler->override_option('use_pager', '1');
  144. $handler->override_option('style_plugin', 'grid');
  145. $handler->override_option('style_options', array(
  146. 'grouping' => '',
  147. 'columns' => '2',
  148. 'alignment' => 'vertical',
  149. 'fill_single_line' => 1,
  150. ));
  151. $handler->override_option('row_options', array(
  152. 'inline' => array(
  153. 'title' => 'title',
  154. 'created' => 'created',
  155. ),
  156. 'separator' => '',
  157. 'hide_empty' => 0,
  158. ));
  159. $handler = $view->new_display('page', 'Page', 'page_1');
  160. $handler->override_option('path', 'casetracker/childless');
  161. $handler->override_option('menu', array(
  162. 'type' => 'normal',
  163. 'title' => 'Unfollowed',
  164. 'description' => 'Cases without follow-ups',
  165. 'weight' => '0',
  166. 'name' => 'navigation',
  167. ));
  168. $handler->override_option('tab_options', array(
  169. 'type' => 'none',
  170. 'title' => '',
  171. 'description' => '',
  172. 'weight' => 0,
  173. 'name' => 'navigation',
  174. ));