You are here

function og_handler_summary in Organic groups 5

Same name and namespace in other branches
  1. 5.8 og_views.inc \og_handler_summary()
  2. 5.3 og_views.inc \og_handler_summary()
  3. 5.7 og_views.inc \og_handler_summary()
2 calls to og_handler_summary()
og_handler_argument_gid in ./og_views.inc
og_handler_argument_group_name_like in ./og_views.inc

File

./og_views.inc, line 431

Code

function og_handler_summary(&$fieldinfo, &$query) {
  $query
    ->ensure_table('og_ancestry');
  $query
    ->ensure_table('og_node_data');
  $query
    ->add_field('title', 'og_node_data');
  $query
    ->add_field('group_nid', 'og_ancestry');
  $fieldinfo['field'] = 'og_node_data.nid';

  //og_node_data.nid";
}