We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0530f commit 9bf728cCopy full SHA for 9bf728c
src/search-manager/data/__mocks__/block-types.json
@@ -17,13 +17,6 @@
17
"vertical": 2,
18
"video": 1
19
},
20
- "content.problem_types": {
21
- "choiceresponse": 2,
22
- "multiplechoiceresponse": 6,
23
- "numericalresponse": 3,
24
- "optionresponse": 4,
25
- "stringresponse": 1
26
- }
27
28
"facetStats": {}
29
}
src/search-manager/data/api.ts
@@ -317,7 +317,7 @@ export const fetchBlockTypes = async (
317
const { results } = await client.multiSearch({
318
queries: [{
319
indexUid: indexName,
320
- facets: ['block_type', 'content.problem_types'],
+ facets: ['block_type'],
321
filter: extraFilterFormatted,
322
limit: 0, // We don't need any "hits" for this - just the facetDistribution
323
}],
0 commit comments