File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export function SearchProvider({ children }: React.PropsWithChildren) {
120
120
initialQuery = { initialQuery }
121
121
initialScrollY = { window . scrollY }
122
122
searchParameters = { {
123
- facetFilters : "version:v4" ,
123
+ facetFilters : [ [ "version:v4" , "version:plus" ] ] ,
124
124
distinct : 1 ,
125
125
attributesToRetrieve : [
126
126
"hierarchy.lvl0" ,
@@ -161,6 +161,15 @@ export function SearchProvider({ children }: React.PropsWithChildren) {
161
161
return item
162
162
} )
163
163
164
+ items = items . filter ( ( item ) => {
165
+ // Remove old prev-Tailwind plus search results
166
+ if ( item . hierarchy ?. lvl0 === "Components" ) {
167
+ return false
168
+ }
169
+
170
+ return true
171
+ } )
172
+
164
173
return items . map ( ( item , index ) => {
165
174
// We transform the absolute URL into a relative URL to
166
175
// leverage Next's preloading.
You can’t perform that action at this time.
0 commit comments