diff --git a/dspace-server-webapp/src/test/java/org/dspace/app/rest/ClarinDiscoveryRestControllerIT.java b/dspace-server-webapp/src/test/java/org/dspace/app/rest/ClarinDiscoveryRestControllerIT.java
index 95051697a462..72b12c7962af 100644
--- a/dspace-server-webapp/src/test/java/org/dspace/app/rest/ClarinDiscoveryRestControllerIT.java
+++ b/dspace-server-webapp/src/test/java/org/dspace/app/rest/ClarinDiscoveryRestControllerIT.java
@@ -984,6 +984,7 @@ public void discoverSearchTest() throws Exception {
SearchFilterMatcher.authorFilter(),
SearchFilterMatcher.subjectFilter(),
// SearchFilterMatcher.dateIssuedFilter(),
+ SearchFilterMatcher.publisherFilter(),
SearchFilterMatcher.hasContentInOriginalBundleFilter(),
SearchFilterMatcher.hasFileNameInOriginalBundleFilter(),
SearchFilterMatcher.hasFileDescriptionInOriginalBundleFilter(),
diff --git a/dspace-server-webapp/src/test/java/org/dspace/app/rest/matcher/SearchFilterMatcher.java b/dspace-server-webapp/src/test/java/org/dspace/app/rest/matcher/SearchFilterMatcher.java
index 2d38aeb12968..7700d5291249 100644
--- a/dspace-server-webapp/src/test/java/org/dspace/app/rest/matcher/SearchFilterMatcher.java
+++ b/dspace-server-webapp/src/test/java/org/dspace/app/rest/matcher/SearchFilterMatcher.java
@@ -195,4 +195,15 @@ public static Matcher super Object> clarinItemsTypeFilter() {
checkOperators()
);
}
+
+ public static Matcher super Object> publisherFilter() {
+ return allOf(
+ hasJsonPath("$.filter", is("publisher")),
+ hasJsonPath("$.hasFacets", is(false)),
+ hasJsonPath("$.type", is("text")),
+ hasJsonPath("$.openByDefault", is(false)),
+ checkOperators()
+
+ );
+ }
}
diff --git a/dspace/config/spring/api/discovery.xml b/dspace/config/spring/api/discovery.xml
index 9b8b8351fe55..d40242314260 100644
--- a/dspace/config/spring/api/discovery.xml
+++ b/dspace/config/spring/api/discovery.xml
@@ -200,6 +200,7 @@
+
@@ -2488,6 +2489,17 @@
+
+
+
+
+ dc.publisher
+
+
+
+
+
+