Merge pull request 'B2024-076 Correct Linking / Numbering when utilizing Paste Replace with Enhanced Steps over unlinked steps' (#419) from B2024-076 into Development
ready for testing phase
This commit is contained in:
commit
b457496297
@ -23798,7 +23798,7 @@ BEGIN TRY -- Try Block
|
|||||||
--then remove the link from the copy
|
--then remove the link from the copy
|
||||||
--if original item was not linked, update new items to not be linked
|
--if original item was not linked, update new items to not be linked
|
||||||
DECLARE @xconfig XML = (Select cast(config as xml) xconfig from Contents where ContentID = @ContentID);
|
DECLARE @xconfig XML = (Select cast(config as xml) xconfig from Contents where ContentID = @ContentID);
|
||||||
IF @xconfig.exist('//Enhanced[1]') = 0
|
IF ISNULL(@xconfig.exist('//Enhanced[1]'),0) = 0
|
||||||
BEGIN
|
BEGIN
|
||||||
UPDATE Contents SET Config = dbo.vefn_RemoveEnhanced(Contents.Config)
|
UPDATE Contents SET Config = dbo.vefn_RemoveEnhanced(Contents.Config)
|
||||||
Where ContentID in (Select ContentID FROM vefn_ChildItems(@NewItemID))
|
Where ContentID in (Select ContentID FROM vefn_ChildItems(@NewItemID))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user