From 0478e980e6d92e258470ecd4ec70ff28f43c51b6 Mon Sep 17 00:00:00 2001 From: KhushbuFuletra <51351463+KhushbuFuletra@users.noreply.github.com> Date: Wed, 10 Jul 2019 14:55:43 +1000 Subject: [PATCH] fix(configsetting): Fix search config default options (#25) --- src/objects/ExtensibleSearchSuggestion.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/objects/ExtensibleSearchSuggestion.php b/src/objects/ExtensibleSearchSuggestion.php index c35628f..58b9538 100644 --- a/src/objects/ExtensibleSearchSuggestion.php +++ b/src/objects/ExtensibleSearchSuggestion.php @@ -42,6 +42,10 @@ class ExtensibleSearchSuggestion extends DataObject implements PermissionProvide 'ApprovedField' ); + private static $indexes = array( + 'Approved' => true + ); + /** * Allow the ability to disable search suggestions. */