Permalink
Browse files

Merge pull request #129 from lyncode/dspace-xoai

[DS-1380] XOAI: DSpaceAtLeastOneMetadataFilter with operator STARTS_WITH always fails
  • Loading branch information...
2 parents 459d0d1 + c1a34a3 commit acca49e228370619124d9b8120e459d888436099 @KevinVdV KevinVdV committed Nov 10, 2012
@@ -116,6 +116,10 @@ public boolean isShown(DSpaceItem item)
if (praticalValue.contains(theoreticValue))
return true;
break;
+ case STARTS_WITH:
+ if (praticalValue.startsWith(theoreticValue))
+ return true;
+ break;
case ENDS_WITH:
if (praticalValue.endsWith(theoreticValue))
return true;

0 comments on commit acca49e

Please sign in to comment.