Skip to content

Commit f09d912

Browse files
authored
Return only community-docs hits (#1489)
1 parent c400a42 commit f09d912

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/_static/js/instantSearch.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ window.addEventListener("DOMContentLoaded", () => {
9898
initialUiState: {
9999
minio: {
100100
refinementList: {
101-
site: "docs",
102-
edition: "community",
101+
site: ["docs"],
102+
edition: ["community"],
103103
},
104104
},
105105
},
@@ -268,7 +268,7 @@ window.addEventListener("DOMContentLoaded", () => {
268268
},
269269
}),
270270
instantsearch.widgets.configure({
271-
filters: `site:docs`,
271+
filters: `site:docs AND edition:community`,
272272
})
273273
]);
274274

0 commit comments

Comments
 (0)