Commit 9a51eb3714f38f58fb2ea6c8de5c604cea522fb7

Authored by Fernando Ribeiro
1 parent f7058df2eb

[DS-2820] fixes XOAI Not filter

dspace-oai/src/main/java/org/dspace/xoai/filter/NotFilter.java
... ... @@ -28,7 +28,7 @@ public class NotFilter extends DSpaceFilter {
28 28  
29 29 @Override
30 30 public SolrFilterResult buildSolrQuery() {
31   - return new SolrFilterResult("NOT("+inFilter.buildSolrQuery().getQuery()+")");
  31 + return new SolrFilterResult("*:* AND NOT(" + inFilter.buildSolrQuery().getQuery() + ")");
32 32 }
33 33  
34 34 @Override
... ...