Fixing organization filtering

This commit is contained in:
luca.frosini 2023-06-27 14:58:11 +02:00
parent d132dfad92
commit e378d275bc
1 changed files with 5 additions and 8 deletions

View File

@ -642,16 +642,13 @@ 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())); // stringWriter.append(String.format(GCatConstants.ORGANIZATION_FILTER_TEMPLATE, configuration.getDefaultOrganization()));
/* /*
* TODO
*
* 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)
* and it seems not working *
* I need to investigate better this part.
*/ */
int i=1; int i=1;
stringWriter.append(" ("); stringWriter.append(" (");