Skip to content

Commit 7a54993

Browse files
committed
Fixing bug with latest refactoring on fields and facets.
1 parent 474fb2c commit 7a54993

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Plugin/GraphQL/Fields/SearchAPIFacets.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function resolveValues($value, array $args, ResolveContext $context, Reso
2727
foreach ($value['facets'] as $facet_id => $facet) {
2828

2929
// Prepare a facet response.
30+
$response_facet = NULL;
3031
$response_facet['type'] = 'SearchAPIFacet';
3132
$response_facet['name'] = $facet_id;
3233

0 commit comments

Comments
 (0)