Trying to fix multiple organization listing
This commit is contained in:
parent
4c900e6864
commit
657802918a
|
@ -646,15 +646,10 @@ public class CKANPackage extends CKAN implements Moderated {
|
|||
|
||||
|
||||
/*
|
||||
* TODO
|
||||
*
|
||||
* This generated something like:
|
||||
* organization:orgfortesting OR organization:prevre OR organization:data_inrae
|
||||
* and it seems not working
|
||||
* I need to investigate better this part.
|
||||
*
|
||||
*/
|
||||
int i=1;
|
||||
stringWriter.append("(");
|
||||
for(String organizationName : configuration.getSupportedOrganizations()) {
|
||||
stringWriter.append(String.format(GCatConstants.ORGANIZATION_FILTER_TEMPLATE, organizationName));
|
||||
if(i!=configuration.getSupportedOrganizations().size()) {
|
||||
|
@ -664,8 +659,6 @@ public class CKANPackage extends CKAN implements Moderated {
|
|||
}
|
||||
i++;
|
||||
}
|
||||
stringWriter.append(")");
|
||||
*/
|
||||
|
||||
return stringWriter.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue