diff --git a/src/main/java/org/gcube/gcat/persistence/ckan/CKANPackage.java b/src/main/java/org/gcube/gcat/persistence/ckan/CKANPackage.java index a15a8dd..d1fe546 100644 --- a/src/main/java/org/gcube/gcat/persistence/ckan/CKANPackage.java +++ b/src/main/java/org/gcube/gcat/persistence/ckan/CKANPackage.java @@ -364,7 +364,7 @@ public class CKANPackage extends CKAN { parameters.put(GCatConstants.Q_KEY, filter); } - if(ckanInstance.isModerationEnabled()) { + if(isModerationEnabled()) { String q = parameters.get(GCatConstants.Q_KEY); StringBuffer stringBuffer = new StringBuffer();