diff --git a/themes/blueprint/templates/Recommend/CollectionSideFacets.phtml b/themes/blueprint/templates/Recommend/CollectionSideFacets.phtml index 7ec7927674c9b095ed29cd0f2cc11db4fd8b7100..2bd168e5ab4c7ce8c9b75a960a4598b6cc01c6b2 100644 --- a/themes/blueprint/templates/Recommend/CollectionSideFacets.phtml +++ b/themes/blueprint/templates/Recommend/CollectionSideFacets.phtml @@ -10,7 +10,8 @@ array( 'value' => $keywordFilter, 'displayText' => $keywordFilter, - 'specialType' => 'keyword' + 'specialType' => 'keyword', + 'operator' => 'OR' ) ) ); diff --git a/themes/blueprint/templates/Recommend/SideFacets.phtml b/themes/blueprint/templates/Recommend/SideFacets.phtml index 695477f615531db9376e31263f139f0f7b9d86b4..a42055564f1c0687df2f3508b0d3ce41e4f0038f 100644 --- a/themes/blueprint/templates/Recommend/SideFacets.phtml +++ b/themes/blueprint/templates/Recommend/SideFacets.phtml @@ -19,7 +19,7 @@ <? foreach ($filterList as $field => $filters): ?> <? foreach ($filters as $i => $filter): ?> <? - $index = array_search($filter['field'], $collapsedFacets); + $index = isset($filter['field']) ? array_search($filter['field'], $collapsedFacets) : false; if ($index !== false) { unset($collapsedFacets[$index]); // Open if we have a match } diff --git a/themes/bootstrap/templates/Recommend/CollectionSideFacets.phtml b/themes/bootstrap/templates/Recommend/CollectionSideFacets.phtml index dedc1dba44f34db4eac2465ba75d98098019cd6d..93ac3d8487a9b96a627a7b099e7233be2b1e996a 100644 --- a/themes/bootstrap/templates/Recommend/CollectionSideFacets.phtml +++ b/themes/bootstrap/templates/Recommend/CollectionSideFacets.phtml @@ -10,7 +10,8 @@ array( 'value' => $keywordFilter, 'displayText' => $keywordFilter, - 'specialType' => 'keyword' + 'specialType' => 'keyword', + 'operator' => 'OR' ) ) ); diff --git a/themes/bootstrap/templates/Recommend/SideFacets.phtml b/themes/bootstrap/templates/Recommend/SideFacets.phtml index 876453cd8411ca6c62709988806acaa5c47a4b1a..2430a5f110ffdcbefd5982b36ee78f587aa71bfc 100644 --- a/themes/bootstrap/templates/Recommend/SideFacets.phtml +++ b/themes/bootstrap/templates/Recommend/SideFacets.phtml @@ -22,7 +22,7 @@ <? foreach ($filterList as $field => $filters): ?> <? foreach ($filters as $i => $filter): ?> <? - $index = array_search($filter['field'], $collapsedFacets); + $index = isset($filter['field']) ? array_search($filter['field'], $collapsedFacets) : false; if ($index !== false) { unset($collapsedFacets[$index]); // Open if we have a match }