Fixed code
This commit is contained in:
parent
e378d275bc
commit
b189ad0e72
|
@ -641,14 +641,9 @@ public class CKANPackage extends CKAN implements Moderated {
|
|||
|
||||
protected String getFilterForOrganizations() {
|
||||
StringWriter stringWriter = new StringWriter();
|
||||
|
||||
// stringWriter.append(String.format(GCatConstants.ORGANIZATION_FILTER_TEMPLATE, configuration.getDefaultOrganization()));
|
||||
|
||||
|
||||
/*
|
||||
* This generated something like:
|
||||
* (organization:orgfortesting OR organization:prevre OR organization:data_inrae)
|
||||
*
|
||||
* " (organization:orgfortesting OR organization:prevre OR organization:data_inrae) "
|
||||
*/
|
||||
int i=1;
|
||||
stringWriter.append(" (");
|
||||
|
@ -662,8 +657,6 @@ public class CKANPackage extends CKAN implements Moderated {
|
|||
i++;
|
||||
}
|
||||
stringWriter.append(") ");
|
||||
// */
|
||||
|
||||
return stringWriter.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue