mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18247: Fixing import data on identity with several keys
Work Item: 18247 --HG-- branch : 1.x
This commit is contained in:
@@ -144,7 +144,7 @@ namespace Orchard.ContentManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int GetHashCode(ContentIdentity contentIdentity) {
|
public int GetHashCode(ContentIdentity contentIdentity) {
|
||||||
return contentIdentity.ToString().GetHashCode();
|
return contentIdentity._dictionary.OrderBy(kvp => kvp.Key).ToString().GetHashCode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user