From 07d23208982a7906bfb6becfc1d040767e4bf376 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 17 Dec 2018 13:44:11 +1100 Subject: [PATCH] fixes bool --- src/Umbraco.Web/PublishedContentQuery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/PublishedContentQuery.cs b/src/Umbraco.Web/PublishedContentQuery.cs index ea351b5ffd..79f6e07282 100644 --- a/src/Umbraco.Web/PublishedContentQuery.cs +++ b/src/Umbraco.Web/PublishedContentQuery.cs @@ -199,7 +199,7 @@ namespace Umbraco.Web var searcher = umbIndex.GetSearcher(); ISearchResults results; - if (!culture.IsNullOrWhiteSpace()) + if (culture.IsNullOrWhiteSpace()) { results = searcher.Search(term, (skip == 0 && take == 0 ? 500 //default max results