Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[DS-1380] XOAI: DSpaceAtLeastOneMetadataFilter with operator STARTS_WITH always fails #129

Merged
merged 1 commit into from

2 participants

@lyncodev
Owner

Checked. Anyone available to push the merge button?

@KevinVdV KevinVdV merged commit acca49e into DSpace:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 10, 2012
  1. @lyncodev

    DS-1380

    lyncodev authored
This page is out of date. Refresh to see the latest.
View
4 dspace-oai/src/main/java/org/dspace/xoai/filter/DSpaceAtLeastOneMetadataFilter.java
@@ -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;
Something went wrong with that request. Please try again.