Skip to content

Commit

Permalink
Merge pull request #2280 from GetDKAN/user-groups-list
Browse files Browse the repository at this point in the history
Fix contextual filter on list_of_users_groups view
  • Loading branch information
fmizzell authored Dec 27, 2017
2 parents 582d9c4 + 028afd4 commit 6955e28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
7.x-1.14.1
----------
- #2280 Fix contextual filter on list_of_users_groups view
- #2284 Change the default title for harvested resources to use the format value rather than url value
- #2265 Fix hero background image setup
- #2288 Use geojson icon for GeoJSON files in listings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function dkan_sitewide_panels_views_default_views() {
'page' => 'page',
);
$handler->display->display_options['filters']['type']['group'] = 1;
/* Filter criterion: Content: Groups audience (og_group_ref) (reference filter) */
/* Filter criterion: Content: Publisher (og_group_ref) (reference filter) */
$handler->display->display_options['filters']['og_group_ref_target_id_entityreference_filter']['id'] = 'og_group_ref_target_id_entityreference_filter';
$handler->display->display_options['filters']['og_group_ref_target_id_entityreference_filter']['table'] = 'og_membership';
$handler->display->display_options['filters']['og_group_ref_target_id_entityreference_filter']['field'] = 'og_group_ref_target_id_entityreference_filter';
Expand Down Expand Up @@ -528,7 +528,8 @@ function dkan_sitewide_panels_views_default_views() {
$handler->display->display_options['arguments']['etid']['field'] = 'etid';
$handler->display->display_options['arguments']['etid']['ui_name'] = 'We pass the user ID as the Entity ID.';
$handler->display->display_options['arguments']['etid']['default_action'] = 'default';
$handler->display->display_options['arguments']['etid']['default_argument_type'] = 'current_user';
$handler->display->display_options['arguments']['etid']['default_argument_type'] = 'user';
$handler->display->display_options['arguments']['etid']['default_argument_options']['user'] = FALSE;
$handler->display->display_options['arguments']['etid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['etid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['etid']['summary_options']['items_per_page'] = '25';
Expand Down

0 comments on commit 6955e28

Please sign in to comment.