Commit a999a48f authored by drumm's avatar drumm
Browse files

Issue #2843435 by crawleyhost, drumm, hestenet, Kristen Pol: Use marketplace...

Issue #2843435 by crawleyhost, drumm, hestenet, Kristen Pol: Use marketplace rank for training listing
parent 153dd32c
......@@ -1560,6 +1560,16 @@ For upcoming Trainings check <a href="http://groups.drupal.org/events?type[]=tra
$handler->display->display_options['fields']['field_organization_training_url']['click_sort_column'] = 'url';
$handler->display->display_options['fields']['field_organization_training_url']['type'] = 'link_url';
$handler->display->display_options['fields']['field_organization_training_url']['group_column'] = 'entity_id';
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sort criterion: Content: Org contribution rank (field_org_contribution_rank) */
$handler->display->display_options['sorts']['field_org_contribution_rank_value']['id'] = 'field_org_contribution_rank_value';
$handler->display->display_options['sorts']['field_org_contribution_rank_value']['table'] = 'field_data_field_org_contribution_rank';
$handler->display->display_options['sorts']['field_org_contribution_rank_value']['field'] = 'field_org_contribution_rank_value';
$handler->display->display_options['sorts']['field_org_contribution_rank_value']['order'] = 'DESC';
/* Sort criterion: Content: Title */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
$handler->display->display_options['sorts']['title']['field'] = 'title';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Contextual filter: Taxonomy term: Name */
$handler->display->display_options['arguments']['name']['id'] = 'name';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment