Skip to content

Commit cf9f11f

Browse files
committed
Improved admin search splitting query U4-2509
1 parent d7481b5 commit cf9f11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web/umbraco.presentation/umbraco/Search/QuickSearchHandler.ashx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void ProcessRequest(HttpContext context)
5959
}
6060
else
6161
{
62-
var operation = criteria.Field("__nodeName", txt);
62+
var operation = criteria.GroupedAnd(new[] { "__nodeName" }, txt.Split(' '));
6363

6464
// ensure the user can only find nodes they are allowed to see
6565
if (UmbracoContext.Current.UmbracoUser.StartNodeId > 0)

0 commit comments

Comments
 (0)