mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Orchard.Tags.Drivers {
|
|||||||
// Merge tags.
|
// Merge tags.
|
||||||
if (tags.Length > 0) {
|
if (tags.Length > 0) {
|
||||||
var currentTags = part.CurrentTags.Select(t => t.TagName);
|
var currentTags = part.CurrentTags.Select(t => t.TagName);
|
||||||
_tagService.UpdateTagsForContentItem(context.ContentItem, tags.Concat(currentTags));
|
_tagService.UpdateTagsForContentItem(context.ContentItem, tags.Concat(currentTags).Distinct());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user