mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Fix tag save issue
Work Item: 17075 --HG-- branch : 1.x
This commit is contained in:
@@ -86,6 +86,10 @@ namespace Orchard.Tags.Services {
|
|||||||
|
|
||||||
// new tag name already existing => merge
|
// new tag name already existing => merge
|
||||||
if (tagRecord != null) {
|
if (tagRecord != null) {
|
||||||
|
// If updating ourselves, ignore
|
||||||
|
if (tagRecord.Id == tagId)
|
||||||
|
return;
|
||||||
|
|
||||||
var tagsContentItems = _contentTagRepository.Fetch(x => x.TagRecord.Id == tagId);
|
var tagsContentItems = _contentTagRepository.Fetch(x => x.TagRecord.Id == tagId);
|
||||||
|
|
||||||
// get contentItems already tagged with the existing one
|
// get contentItems already tagged with the existing one
|
||||||
|
Reference in New Issue
Block a user