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