From 7963b76d57ec57d3cc8831f89ec62a5e504958a2 Mon Sep 17 00:00:00 2001 From: Andy Butland Date: Mon, 3 Oct 2022 13:14:18 +0200 Subject: [PATCH] Adds additional deploy selector. (#13094) --- src/Umbraco.Core/Constants-DeploySelector.cs | 1 + src/Umbraco.Core/UdiRange.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Umbraco.Core/Constants-DeploySelector.cs b/src/Umbraco.Core/Constants-DeploySelector.cs index 0f552e8a82..771380a3da 100644 --- a/src/Umbraco.Core/Constants-DeploySelector.cs +++ b/src/Umbraco.Core/Constants-DeploySelector.cs @@ -12,5 +12,6 @@ public static partial class Constants public const string ThisAndDescendants = "this-and-descendants"; public const string ChildrenOfThis = "children"; public const string DescendantsOfThis = "descendants"; + public const string EntitiesOfType = "entities-of-type"; } } diff --git a/src/Umbraco.Core/UdiRange.cs b/src/Umbraco.Core/UdiRange.cs index 5d98664a3e..dd497e2f9e 100644 --- a/src/Umbraco.Core/UdiRange.cs +++ b/src/Umbraco.Core/UdiRange.cs @@ -34,6 +34,7 @@ public class UdiRange case Constants.DeploySelector.DescendantsOfThis: case Constants.DeploySelector.ThisAndChildren: case Constants.DeploySelector.ThisAndDescendants: + case Constants.DeploySelector.EntitiesOfType: Selector = selector; _uriValue = new Uri(Udi + "?" + selector); break;