Fixes ISearchableTree lifetime registration, fixes routing that clears required query strings, fixes lucene search string, gets URls in search results working with default lang/variants
This commit is contained in:
@@ -21,5 +21,8 @@ namespace Umbraco.Web.Search
|
||||
{
|
||||
return new SearchableTreeCollection(CreateItems(), _treeService);
|
||||
}
|
||||
|
||||
//per request because generally an instance of ISearchableTree is a controller
|
||||
protected override ILifetime CollectionLifetime => new PerRequestLifeTime();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user