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() {
|
protected String getFilterForOrganizations() {
|
||||||
StringWriter stringWriter = new StringWriter();
|
StringWriter stringWriter = new StringWriter();
|
||||||
|
|
||||||
// stringWriter.append(String.format(GCatConstants.ORGANIZATION_FILTER_TEMPLATE, configuration.getDefaultOrganization()));
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This generated something like:
|
* 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;
|
int i=1;
|
||||||
stringWriter.append(" (");
|
stringWriter.append(" (");
|
||||||
|
@ -662,8 +657,6 @@ public class CKANPackage extends CKAN implements Moderated {
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
stringWriter.append(") ");
|
stringWriter.append(") ");
|
||||||
// */
|
|
||||||
|
|
||||||
return stringWriter.toString();
|
return stringWriter.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue