mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-24 01:49:12 +08:00
Rolls back previous change (#7882)
#7877 introduced more issues than it solved. I propose rolling it back, and test this deeper.
This commit is contained in:

committed by
Sébastien Ros

parent
d6fa50aaee
commit
f146b81f47
@@ -98,7 +98,7 @@ namespace Orchard.Taxonomies.Handlers {
|
||||
|
||||
protected override void UpdateEditorShape(UpdateEditorContext context) {
|
||||
// case contentitem without localization and taxonomyfield localized
|
||||
if (context.ContentItem.As<LocalizationPart>() == null) {
|
||||
if (context.ContentItem.As<LocalizationPart>() != null) {
|
||||
return;
|
||||
}
|
||||
var partFieldDefinitions = context.ContentItem.Parts.SelectMany(p => p.PartDefinition.Fields).Where(x => x.FieldDefinition.Name == "TaxonomyField");
|
||||
|
Reference in New Issue
Block a user