We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff05784 + 1149142 commit 3d52d22Copy full SHA for 3d52d22
src/Geta.Optimizely.Tags/Core/TagService.cs
@@ -1,4 +1,4 @@
1
-// Copyright (c) Geta Digital. All rights reserved.
+// Copyright (c) Geta Digital. All rights reserved.
2
// Licensed under Apache-2.0. See the LICENSE file in the project root for more information
3
4
using System;
@@ -161,7 +161,7 @@ private void RemoveOldContentTags(IContent content)
161
162
foreach (var tag in oldTags)
163
{
164
- if (tag.PermanentLinks == null || !tag.PermanentLinks.Contains(contentGuid) || tag.GroupKey != language)
+ if (tag.PermanentLinks == null || !tag.PermanentLinks.Contains(contentGuid) || !tag.GroupKey.EndsWith(language))
165
166
continue;
167
}
0 commit comments