From 546caa71b66df2cbcab34bbb50b6ebabab66cdfc Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Tue, 17 Dec 2013 10:41:27 +0530 Subject: [PATCH] [#1384] Update documentation for related_list The related_list function should not need an id or dataset parameter. We use it ourselves in the related dashboard without an id or dataset parameter. --- ckan/logic/action/get.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ckan/logic/action/get.py b/ckan/logic/action/get.py index 82abfaf9f06..3db861c2fc7 100644 --- a/ckan/logic/action/get.py +++ b/ckan/logic/action/get.py @@ -212,8 +212,6 @@ def related_show(context, data_dict=None): def related_list(context, data_dict=None): '''Return a dataset's related items. - Either the ``id`` or the ``dataset`` parameter must be given. - :param id: id or name of the dataset (optional) :type id: string :param dataset: dataset dictionary of the dataset (optional)