Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177051 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8f27af53e0
commit
e1de49f00f
|
@ -81,7 +81,7 @@ public class CKANPackage extends CKAN {
|
|||
// The 'results' array is included in the 'result' object for package_search
|
||||
private static final String RESULTS_KEY = "results";
|
||||
protected static final String SEARCHABLE_KEY = "searchable";
|
||||
protected static final String INCLUDE_PRIVATE_KEY = "include_private";
|
||||
// protected static final String INCLUDE_PRIVATE_KEY = "include_private";
|
||||
// protected static final String INCLUDE_DRAFTS_KEY = "include_drafts";
|
||||
|
||||
public static final String GROUPS_KEY = "groups";
|
||||
|
@ -241,7 +241,7 @@ public class CKANPackage extends CKAN {
|
|||
String organizationQueryString = String.format(ORGANIZATION_FILTER_TEMPLATE, organizationName);
|
||||
parameters.put(Q_KEY, organizationQueryString);
|
||||
|
||||
parameters.put(INCLUDE_PRIVATE_KEY, String.valueOf(true));
|
||||
// parameters.put(INCLUDE_PRIVATE_KEY, String.valueOf(true));
|
||||
|
||||
// By default not including draft
|
||||
// parameters.put(INCLUDE_DRAFTS_KEY, String.valueOf(false));
|
||||
|
|
Loading…
Reference in New Issue