From 4e8d4ff972434129dbb7d9446164df4f3699b7da Mon Sep 17 00:00:00 2001 From: Brook Elgie Date: Tue, 4 Aug 2015 17:03:46 +0100 Subject: [PATCH] [#2557] Featured grps/orgs should include datasets `include_datasets` now defaults to False (#2206), so need to include it when getting the featured groups and orgs for the index page. --- ckan/lib/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ckan/lib/helpers.py b/ckan/lib/helpers.py index b0db46aaf31..99c9a61d50a 100644 --- a/ckan/lib/helpers.py +++ b/ckan/lib/helpers.py @@ -1923,7 +1923,8 @@ def get_group(id): context = {'ignore_auth': True, 'limits': {'packages': 2}, 'for_view': True} - data_dict = {'id': id} + data_dict = {'id': id, + 'include_datasets': True} try: out = logic.get_action(get_action)(context, data_dict)