task_21363 #1

Closed
francesco.mangiacrapa wants to merge 53 commits from task_21363 into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 51fac51ccf - Show all commits

View File

@ -115,12 +115,12 @@ public class CkanContentModeratorServiceImpl extends RemoteServiceServlet implem
Map<String, String> query = new HashMap<String, String>(1); Map<String, String> query = new HashMap<String, String>(1);
query.put("q", queryValuesBuilder.toString()); query.put("q", queryValuesBuilder.toString());
String listItems = catalogueImpl.performQuery(query); List<String> listItems = catalogueImpl.performQueryForItems(query);
LOG.debug("query returned items: " + listItems); LOG.debug("query returned items: " + listItems);
boolean haveItemInModeration = false; boolean haveItemInModeration = false;
if (listItems != null && !listItems.isEmpty()) { if (listItems != null && listItems.size()>0) {
haveItemInModeration = true; haveItemInModeration = true;
} }