Guest User

Untitled

a guest
Feb 2nd, 2016
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $view = new view();
  2. $view->name = 'my_view_new_';
  3. $view->description = '';
  4. $view->tag = 'default';
  5. $view->base_table = 'civicrm_contact';
  6. $view->human_name = 'My view (new)';
  7. $view->core = 7;
  8. $view->api_version = '3.0';
  9. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  10.  
  11. /* Display: Master */
  12. $handler = $view->new_display('default', 'Master', 'default');
  13. $handler->display->display_options['use_more_always'] = FALSE;
  14. $handler->display->display_options['group_by'] = TRUE;
  15. $handler->display->display_options['access']['type'] = 'none';
  16. $handler->display->display_options['cache']['type'] = 'none';
  17. $handler->display->display_options['query']['type'] = 'views_query';
  18. $handler->display->display_options['query']['options']['distinct'] = TRUE;
  19. $handler->display->display_options['exposed_form']['type'] = 'basic';
  20. $handler->display->display_options['pager']['type'] = 'none';
  21. $handler->display->display_options['pager']['options']['offset'] = '0';
  22. $handler->display->display_options['style_plugin'] = 'gmap';
  23. $handler->display->display_options['style_options']['datasource'] = 'fields';
  24. $handler->display->display_options['style_options']['markertype'] = 'small red';
  25. $handler->display->display_options['style_options']['latfield'] = 'geo_code_1';
  26. $handler->display->display_options['style_options']['lonfield'] = 'geo_code_2';
  27. $handler->display->display_options['style_options']['markerfield'] = 'geo_code_1';
  28. $handler->display->display_options['style_options']['geofield'] = 'geo_code_1';
  29. $handler->display->display_options['style_options']['enablermt'] = 0;
  30. $handler->display->display_options['style_options']['rmtfield'] = 'geo_code_1';
  31. $handler->display->display_options['style_options']['center_on_nodearg_arg'] = 'null';
  32. $handler->display->display_options['style_options']['animation'] = '0';
  33. $handler->display->display_options['style_options']['highlight_nodearg_arg'] = 'null';
  34. $handler->display->display_options['style_options']['autoclick_on_nodearg_arg'] = 'null';
  35. $handler->display->display_options['style_options']['tooltipfield'] = 'geo_code_1';
  36. $handler->display->display_options['style_options']['bubbletextenabled'] = 1;
  37. $handler->display->display_options['style_options']['bubbletextfield'] = 'geo_code_1';
  38. $handler->display->display_options['row_plugin'] = 'fields';
  39. /* No results behavior: Global: Text area */
  40. $handler->display->display_options['empty']['area']['id'] = 'area';
  41. $handler->display->display_options['empty']['area']['table'] = 'views';
  42. $handler->display->display_options['empty']['area']['field'] = 'area';
  43. $handler->display->display_options['empty']['area']['empty'] = TRUE;
  44. $handler->display->display_options['empty']['area']['content'] = 'Please enter search terms above. Note that information for agencies marked with asterisks(**) has not been confirmed within the last year.';
  45. $handler->display->display_options['empty']['area']['format'] = 'safe_html';
  46. /* Field: CiviCRM Address: Latitude */
  47. $handler->display->display_options['fields']['geo_code_1']['id'] = 'geo_code_1';
  48. $handler->display->display_options['fields']['geo_code_1']['table'] = 'civicrm_address';
  49. $handler->display->display_options['fields']['geo_code_1']['field'] = 'geo_code_1';
  50. $handler->display->display_options['fields']['geo_code_1']['label'] = '';
  51. $handler->display->display_options['fields']['geo_code_1']['exclude'] = TRUE;
  52. $handler->display->display_options['fields']['geo_code_1']['alter']['word_boundary'] = FALSE;
  53. $handler->display->display_options['fields']['geo_code_1']['alter']['ellipsis'] = FALSE;
  54. $handler->display->display_options['fields']['geo_code_1']['element_label_colon'] = FALSE;
  55. $handler->display->display_options['fields']['geo_code_1']['element_default_classes'] = FALSE;
  56. $handler->display->display_options['fields']['geo_code_1']['hide_alter_empty'] = FALSE;
  57. $handler->display->display_options['fields']['geo_code_1']['location_op'] = '0';
  58. $handler->display->display_options['fields']['geo_code_1']['is_primary'] = 0;
  59. $handler->display->display_options['fields']['geo_code_1']['is_billing'] = 0;
  60. /* Field: CiviCRM Address: Longitude */
  61. $handler->display->display_options['fields']['geo_code_2']['id'] = 'geo_code_2';
  62. $handler->display->display_options['fields']['geo_code_2']['table'] = 'civicrm_address';
  63. $handler->display->display_options['fields']['geo_code_2']['field'] = 'geo_code_2';
  64. $handler->display->display_options['fields']['geo_code_2']['label'] = '';
  65. $handler->display->display_options['fields']['geo_code_2']['exclude'] = TRUE;
  66. $handler->display->display_options['fields']['geo_code_2']['alter']['word_boundary'] = FALSE;
  67. $handler->display->display_options['fields']['geo_code_2']['alter']['ellipsis'] = FALSE;
  68. $handler->display->display_options['fields']['geo_code_2']['element_label_colon'] = FALSE;
  69. $handler->display->display_options['fields']['geo_code_2']['element_default_classes'] = FALSE;
  70. $handler->display->display_options['fields']['geo_code_2']['hide_alter_empty'] = FALSE;
  71. $handler->display->display_options['fields']['geo_code_2']['location_op'] = '0';
  72. $handler->display->display_options['fields']['geo_code_2']['is_primary'] = 0;
  73. $handler->display->display_options['fields']['geo_code_2']['is_billing'] = 0;
  74. /* Field: CiviCRM Contacts: Display Name */
  75. $handler->display->display_options['fields']['display_name']['id'] = 'display_name';
  76. $handler->display->display_options['fields']['display_name']['table'] = 'civicrm_contact';
  77. $handler->display->display_options['fields']['display_name']['field'] = 'display_name';
  78. $handler->display->display_options['fields']['display_name']['label'] = 'Keyword';
  79. $handler->display->display_options['fields']['display_name']['link_to_civicrm_contact'] = 0;
  80. /* Field: CiviCRM Address: Full Street Address */
  81. $handler->display->display_options['fields']['street_address']['id'] = 'street_address';
  82. $handler->display->display_options['fields']['street_address']['table'] = 'civicrm_address';
  83. $handler->display->display_options['fields']['street_address']['field'] = 'street_address';
  84. $handler->display->display_options['fields']['street_address']['label'] = 'Street';
  85. $handler->display->display_options['fields']['street_address']['alter']['word_boundary'] = FALSE;
  86. $handler->display->display_options['fields']['street_address']['alter']['ellipsis'] = FALSE;
  87. $handler->display->display_options['fields']['street_address']['element_default_classes'] = FALSE;
  88. $handler->display->display_options['fields']['street_address']['hide_alter_empty'] = FALSE;
  89. $handler->display->display_options['fields']['street_address']['location_op'] = '0';
  90. $handler->display->display_options['fields']['street_address']['is_primary'] = 0;
  91. $handler->display->display_options['fields']['street_address']['is_billing'] = 0;
  92. /* Field: CiviCRM Custom: Agency Details: Hours of Operation */
  93. $handler->display->display_options['fields']['hours_of_operation_19']['id'] = 'hours_of_operation_19';
  94. $handler->display->display_options['fields']['hours_of_operation_19']['table'] = 'civicrm_value_agency_details_5';
  95. $handler->display->display_options['fields']['hours_of_operation_19']['field'] = 'hours_of_operation_19';
  96. $handler->display->display_options['fields']['hours_of_operation_19']['label'] = 'Days of Operation';
  97. /* Field: CiviCRM Phone Details: Phone Number */
  98. $handler->display->display_options['fields']['phone']['id'] = 'phone';
  99. $handler->display->display_options['fields']['phone']['table'] = 'civicrm_phone';
  100. $handler->display->display_options['fields']['phone']['field'] = 'phone';
  101. $handler->display->display_options['fields']['phone']['alter']['word_boundary'] = FALSE;
  102. $handler->display->display_options['fields']['phone']['alter']['ellipsis'] = FALSE;
  103. $handler->display->display_options['fields']['phone']['element_default_classes'] = FALSE;
  104. $handler->display->display_options['fields']['phone']['hide_alter_empty'] = FALSE;
  105. $handler->display->display_options['fields']['phone']['location_op'] = '0';
  106. $handler->display->display_options['fields']['phone']['is_primary'] = 0;
  107. /* Field: CiviCRM Address: City / Suburb */
  108. $handler->display->display_options['fields']['city']['id'] = 'city';
  109. $handler->display->display_options['fields']['city']['table'] = 'civicrm_address';
  110. $handler->display->display_options['fields']['city']['field'] = 'city';
  111. $handler->display->display_options['fields']['city']['label'] = 'Borough';
  112. $handler->display->display_options['fields']['city']['alter']['word_boundary'] = FALSE;
  113. $handler->display->display_options['fields']['city']['alter']['ellipsis'] = FALSE;
  114. $handler->display->display_options['fields']['city']['element_default_classes'] = FALSE;
  115. $handler->display->display_options['fields']['city']['hide_alter_empty'] = FALSE;
  116. $handler->display->display_options['fields']['city']['location_op'] = '0';
  117. $handler->display->display_options['fields']['city']['is_primary'] = 0;
  118. $handler->display->display_options['fields']['city']['is_billing'] = 0;
  119. /* Field: CiviCRM Address: State/Province */
  120. $handler->display->display_options['fields']['state_province']['id'] = 'state_province';
  121. $handler->display->display_options['fields']['state_province']['table'] = 'civicrm_address';
  122. $handler->display->display_options['fields']['state_province']['field'] = 'state_province';
  123. $handler->display->display_options['fields']['state_province']['label'] = 'State';
  124. $handler->display->display_options['fields']['state_province']['alter']['word_boundary'] = FALSE;
  125. $handler->display->display_options['fields']['state_province']['alter']['ellipsis'] = FALSE;
  126. $handler->display->display_options['fields']['state_province']['element_default_classes'] = FALSE;
  127. $handler->display->display_options['fields']['state_province']['hide_alter_empty'] = FALSE;
  128. $handler->display->display_options['fields']['state_province']['location_op'] = '0';
  129. $handler->display->display_options['fields']['state_province']['is_primary'] = 0;
  130. $handler->display->display_options['fields']['state_province']['is_billing'] = 0;
  131. /* Field: CiviCRM Address: ZIP / Postal Code */
  132. $handler->display->display_options['fields']['postal_code']['id'] = 'postal_code';
  133. $handler->display->display_options['fields']['postal_code']['table'] = 'civicrm_address';
  134. $handler->display->display_options['fields']['postal_code']['field'] = 'postal_code';
  135. $handler->display->display_options['fields']['postal_code']['label'] = 'Zip';
  136. $handler->display->display_options['fields']['postal_code']['alter']['word_boundary'] = FALSE;
  137. $handler->display->display_options['fields']['postal_code']['alter']['ellipsis'] = FALSE;
  138. $handler->display->display_options['fields']['postal_code']['element_default_classes'] = FALSE;
  139. $handler->display->display_options['fields']['postal_code']['hide_alter_empty'] = FALSE;
  140. $handler->display->display_options['fields']['postal_code']['location_op'] = '0';
  141. $handler->display->display_options['fields']['postal_code']['is_primary'] = 0;
  142. $handler->display->display_options['fields']['postal_code']['is_billing'] = 0;
  143. /* Field: CiviCRM Contacts: Contact ID */
  144. $handler->display->display_options['fields']['id']['id'] = 'id';
  145. $handler->display->display_options['fields']['id']['table'] = 'civicrm_contact';
  146. $handler->display->display_options['fields']['id']['field'] = 'id';
  147. $handler->display->display_options['fields']['id']['exclude'] = TRUE;
  148. /* Contextual filter: Global: Null */
  149. $handler->display->display_options['arguments']['null']['id'] = 'null';
  150. $handler->display->display_options['arguments']['null']['table'] = 'views';
  151. $handler->display->display_options['arguments']['null']['field'] = 'null';
  152. $handler->display->display_options['arguments']['null']['default_action'] = 'default';
  153. $handler->display->display_options['arguments']['null']['default_argument_type'] = 'fixed';
  154. $handler->display->display_options['arguments']['null']['summary']['number_of_records'] = '0';
  155. $handler->display->display_options['arguments']['null']['summary']['format'] = 'default_summary';
  156. $handler->display->display_options['arguments']['null']['summary_options']['items_per_page'] = '25';
  157. $handler->display->display_options['arguments']['null']['specify_validation'] = TRUE;
  158. $handler->display->display_options['arguments']['null']['validate']['type'] = 'php';
  159. $handler->display->display_options['arguments']['null']['validate_options']['code'] = '$is_filtered = FALSE;
  160. foreach ($view->filter as $filter) {
  161.  if ($filter->options[\'exposed\']) {
  162.    if (!empty($view->display[$view->current_display]->handler->handlers[\'filter\'][$filter->options[\'id\']]->value)) {
  163.      $is_filtered = TRUE;
  164.      break;
  165.    }
  166.  }
  167. }
  168. return $is_filtered; ';
  169. $handler->display->display_options['arguments']['null']['validate']['fail'] = 'empty';
  170. /* Filter criterion: CiviCRM Contacts: Contact Sub Type */
  171. $handler->display->display_options['filters']['contact_sub_type']['id'] = 'contact_sub_type';
  172. $handler->display->display_options['filters']['contact_sub_type']['table'] = 'civicrm_contact';
  173. $handler->display->display_options['filters']['contact_sub_type']['field'] = 'contact_sub_type';
  174. $handler->display->display_options['filters']['contact_sub_type']['value'] = array(
  175.   'Agency' => 'Agency',
  176. );
  177. /* Filter criterion: CiviCRM Contacts: Display Name */
  178. $handler->display->display_options['filters']['display_name']['id'] = 'display_name';
  179. $handler->display->display_options['filters']['display_name']['table'] = 'civicrm_contact';
  180. $handler->display->display_options['filters']['display_name']['field'] = 'display_name';
  181. $handler->display->display_options['filters']['display_name']['operator'] = 'contains';
  182. $handler->display->display_options['filters']['display_name']['exposed'] = TRUE;
  183. $handler->display->display_options['filters']['display_name']['expose']['operator_id'] = 'display_name_op';
  184. $handler->display->display_options['filters']['display_name']['expose']['label'] = 'Name';
  185. $handler->display->display_options['filters']['display_name']['expose']['operator'] = 'display_name_op';
  186. $handler->display->display_options['filters']['display_name']['expose']['identifier'] = 'display_name';
  187. /* Filter criterion: CiviCRM Address: City / Suburb */
  188. $handler->display->display_options['filters']['city']['id'] = 'city';
  189. $handler->display->display_options['filters']['city']['table'] = 'civicrm_address';
  190. $handler->display->display_options['filters']['city']['field'] = 'city';
  191. $handler->display->display_options['filters']['city']['operator'] = 'contains';
  192. $handler->display->display_options['filters']['city']['exposed'] = TRUE;
  193. $handler->display->display_options['filters']['city']['expose']['operator_id'] = 'city_op';
  194. $handler->display->display_options['filters']['city']['expose']['label'] = 'Borough';
  195. $handler->display->display_options['filters']['city']['expose']['operator'] = 'city_op';
  196. $handler->display->display_options['filters']['city']['expose']['identifier'] = 'city';
  197. /* Filter criterion: CiviCRM Custom: Agency Details: Hours of Operation */
  198. $handler->display->display_options['filters']['hours_of_operation_19']['id'] = 'hours_of_operation_19';
  199. $handler->display->display_options['filters']['hours_of_operation_19']['table'] = 'civicrm_value_agency_details_5';
  200. $handler->display->display_options['filters']['hours_of_operation_19']['field'] = 'hours_of_operation_19';
  201. $handler->display->display_options['filters']['hours_of_operation_19']['operator'] = 'contains';
  202. $handler->display->display_options['filters']['hours_of_operation_19']['exposed'] = TRUE;
  203. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['operator_id'] = 'hours_of_operation_19_op';
  204. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['label'] = 'Day of Operation';
  205. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['operator'] = 'hours_of_operation_19_op';
  206. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['identifier'] = 'hours_of_operation_19';
  207. /* Filter criterion: CiviCRM Address: ZIP / Postal Code */
  208. $handler->display->display_options['filters']['postal_code']['id'] = 'postal_code';
  209. $handler->display->display_options['filters']['postal_code']['table'] = 'civicrm_address';
  210. $handler->display->display_options['filters']['postal_code']['field'] = 'postal_code';
  211. $handler->display->display_options['filters']['postal_code']['exposed'] = TRUE;
  212. $handler->display->display_options['filters']['postal_code']['expose']['operator_id'] = 'postal_code_op';
  213. $handler->display->display_options['filters']['postal_code']['expose']['label'] = 'Zipcode';
  214. $handler->display->display_options['filters']['postal_code']['expose']['operator'] = 'postal_code_op';
  215. $handler->display->display_options['filters']['postal_code']['expose']['identifier'] = 'postal_code';
  216. /* Filter criterion: CiviCRM Phone Details: Is Primary Phone */
  217. $handler->display->display_options['filters']['is_primary']['id'] = 'is_primary';
  218. $handler->display->display_options['filters']['is_primary']['table'] = 'civicrm_phone';
  219. $handler->display->display_options['filters']['is_primary']['field'] = 'is_primary';
  220. $handler->display->display_options['filters']['is_primary']['value'] = '1';
  221. /* Filter criterion: CiviCRM Address: Is Primary Address */
  222. $handler->display->display_options['filters']['is_primary_1']['id'] = 'is_primary_1';
  223. $handler->display->display_options['filters']['is_primary_1']['table'] = 'civicrm_address';
  224. $handler->display->display_options['filters']['is_primary_1']['field'] = 'is_primary';
  225. $handler->display->display_options['filters']['is_primary_1']['value'] = '0';
  226. /* Filter criterion: CiviCRM Contacts: Is Deleted */
  227. $handler->display->display_options['filters']['is_deleted']['id'] = 'is_deleted';
  228. $handler->display->display_options['filters']['is_deleted']['table'] = 'civicrm_contact';
  229. $handler->display->display_options['filters']['is_deleted']['field'] = 'is_deleted';
  230. $handler->display->display_options['filters']['is_deleted']['value'] = '0';
  231.  
  232. /* Display: Page */
  233. $handler = $view->new_display('page', 'Page', 'page');
  234. $handler->display->display_options['path'] = 'some/path';
  235.  
  236.  
  237. /* Display: Second Page (Page) */
  238. $handler = $view->new_display('page', 'Orgs Accepting Food (Page)', 'page_1');
  239. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  240. $handler->display->display_options['defaults']['filters'] = FALSE;
  241. /* Filter criterion: CiviCRM Contacts: Contact Sub Type */
  242. $handler->display->display_options['filters']['contact_sub_type']['id'] = 'contact_sub_type';
  243. $handler->display->display_options['filters']['contact_sub_type']['table'] = 'civicrm_contact';
  244. $handler->display->display_options['filters']['contact_sub_type']['field'] = 'contact_sub_type';
  245. $handler->display->display_options['filters']['contact_sub_type']['value'] = array(
  246.   'Agency' => 'Agency',
  247. );
  248. /* Filter criterion: CiviCRM Contacts: Display Name */
  249. $handler->display->display_options['filters']['display_name']['id'] = 'display_name';
  250. $handler->display->display_options['filters']['display_name']['table'] = 'civicrm_contact';
  251. $handler->display->display_options['filters']['display_name']['field'] = 'display_name';
  252. $handler->display->display_options['filters']['display_name']['operator'] = 'contains';
  253. $handler->display->display_options['filters']['display_name']['exposed'] = TRUE;
  254. $handler->display->display_options['filters']['display_name']['expose']['operator_id'] = 'display_name_op';
  255. $handler->display->display_options['filters']['display_name']['expose']['label'] = 'Name';
  256. $handler->display->display_options['filters']['display_name']['expose']['operator'] = 'display_name_op';
  257. $handler->display->display_options['filters']['display_name']['expose']['identifier'] = 'display_name';
  258. /* Filter criterion: CiviCRM Address: City / Suburb */
  259. $handler->display->display_options['filters']['city']['id'] = 'city';
  260. $handler->display->display_options['filters']['city']['table'] = 'civicrm_address';
  261. $handler->display->display_options['filters']['city']['field'] = 'city';
  262. $handler->display->display_options['filters']['city']['operator'] = 'contains';
  263. $handler->display->display_options['filters']['city']['exposed'] = TRUE;
  264. $handler->display->display_options['filters']['city']['expose']['operator_id'] = 'city_op';
  265. $handler->display->display_options['filters']['city']['expose']['label'] = 'Borough';
  266. $handler->display->display_options['filters']['city']['expose']['operator'] = 'city_op';
  267. $handler->display->display_options['filters']['city']['expose']['identifier'] = 'city';
  268. /* Filter criterion: CiviCRM Custom: Agency Details: Hours of Operation */
  269. $handler->display->display_options['filters']['hours_of_operation_19']['id'] = 'hours_of_operation_19';
  270. $handler->display->display_options['filters']['hours_of_operation_19']['table'] = 'civicrm_value_agency_details_5';
  271. $handler->display->display_options['filters']['hours_of_operation_19']['field'] = 'hours_of_operation_19';
  272. $handler->display->display_options['filters']['hours_of_operation_19']['operator'] = 'contains';
  273. $handler->display->display_options['filters']['hours_of_operation_19']['exposed'] = TRUE;
  274. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['operator_id'] = 'hours_of_operation_19_op';
  275. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['label'] = 'Day of Operation';
  276. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['operator'] = 'hours_of_operation_19_op';
  277. $handler->display->display_options['filters']['hours_of_operation_19']['expose']['identifier'] = 'hours_of_operation_19';
  278. /* Filter criterion: CiviCRM Address: ZIP / Postal Code */
  279. $handler->display->display_options['filters']['postal_code']['id'] = 'postal_code';
  280. $handler->display->display_options['filters']['postal_code']['table'] = 'civicrm_address';
  281. $handler->display->display_options['filters']['postal_code']['field'] = 'postal_code';
  282. $handler->display->display_options['filters']['postal_code']['exposed'] = TRUE;
  283. $handler->display->display_options['filters']['postal_code']['expose']['operator_id'] = 'postal_code_op';
  284. $handler->display->display_options['filters']['postal_code']['expose']['label'] = 'Zipcode';
  285. $handler->display->display_options['filters']['postal_code']['expose']['operator'] = 'postal_code_op';
  286. $handler->display->display_options['filters']['postal_code']['expose']['identifier'] = 'postal_code';
  287. /* Filter criterion: CiviCRM Phone Details: Is Primary Phone */
  288. $handler->display->display_options['filters']['is_primary']['id'] = 'is_primary';
  289. $handler->display->display_options['filters']['is_primary']['table'] = 'civicrm_phone';
  290. $handler->display->display_options['filters']['is_primary']['field'] = 'is_primary';
  291. $handler->display->display_options['filters']['is_primary']['value'] = '1';
  292. /* Filter criterion: CiviCRM Address: Is Primary Address */
  293. $handler->display->display_options['filters']['is_primary_1']['id'] = 'is_primary_1';
  294. $handler->display->display_options['filters']['is_primary_1']['table'] = 'civicrm_address';
  295. $handler->display->display_options['filters']['is_primary_1']['field'] = 'is_primary';
  296. $handler->display->display_options['filters']['is_primary_1']['value'] = '0';
  297. /* Filter criterion: CiviCRM Contacts: Is Deleted */
  298. $handler->display->display_options['filters']['is_deleted']['id'] = 'is_deleted';
  299. $handler->display->display_options['filters']['is_deleted']['table'] = 'civicrm_contact';
  300. $handler->display->display_options['filters']['is_deleted']['field'] = 'is_deleted';
  301. $handler->display->display_options['filters']['is_deleted']['value'] = '0';
  302. /* Filter criterion: CiviCRM Custom: Agency Details: Accepts Food Donations */
  303. $handler->display->display_options['filters']['accepts_food_donations_144']['id'] = 'accepts_food_donations_144';
  304. $handler->display->display_options['filters']['accepts_food_donations_144']['table'] = 'civicrm_value_agency_details_5';
  305. $handler->display->display_options['filters']['accepts_food_donations_144']['field'] = 'accepts_food_donations_144';
  306. $handler->display->display_options['filters']['accepts_food_donations_144']['value'] = '1';
  307. $handler->display->display_options['path'] = 'donate-food';
RAW Paste Data