Skip to content

Commit b903f90

Browse files
committed
typo fixes
1 parent 05638db commit b903f90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class ConfigureIndexing : ApplicationEventHandler
9292
LookConfiguration.TextIndexer = indexingContext => {
9393

9494
// eg. if content, render page and scrape markup
95-
if (indexingContext.Item.ItemType == PublishedItemType.Content)
95+
if (!indexingContext.IsDetached && indexingContext.Item.ItemType == PublishedItemType.Content)
9696
{
9797
// (could pass in httpContext to render page without http web request)
9898
// return string

src/Our.Umbraco.Look/Services/LookService_RunQuery.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public static LookResult RunQuery(LookQuery lookQuery)
192192
{
193193
if (!lookQuery.NameQuery.Is.StartsWith(lookQuery.NameQuery.StartsWith))
194194
{
195-
return new LookResult("Conlict in NameQuery between Is and StartsWith");
195+
return new LookResult("Conflict in NameQuery between Is and StartsWith");
196196
}
197197
}
198198
else
@@ -207,7 +207,7 @@ public static LookResult RunQuery(LookQuery lookQuery)
207207
{
208208
if (!lookQuery.NameQuery.Is.EndsWith(lookQuery.NameQuery.EndsWith))
209209
{
210-
return new LookResult("Conlict in NameQuery between Is and EndsWith");
210+
return new LookResult("Conflict in NameQuery between Is and EndsWith");
211211
}
212212
}
213213
else
@@ -229,7 +229,7 @@ public static LookResult RunQuery(LookQuery lookQuery)
229229
{
230230
if (!lookQuery.NameQuery.Is.Contains(lookQuery.NameQuery.Contains))
231231
{
232-
return new LookResult("Conlict in NameQuery between Is and Contains");
232+
return new LookResult("Conflict in NameQuery between Is and Contains");
233233
}
234234
}
235235
else

0 commit comments

Comments
 (0)