Repair reversed D&D evidence ranges
This commit is contained in:
@@ -43,7 +43,7 @@ func canonicalizeItem(item *itemResponse, order shared.SourceRefOrder, sourceID
|
||||
return 0, false
|
||||
}
|
||||
item.Name = identity.NormalizeDisplay(item.Name)
|
||||
refs := order.Canonicalize(canonicalSourceRefs(item.SourceRefs, sourceID))
|
||||
refs := order.Canonicalize(order.OrderEndpoints(canonicalSourceRefs(item.SourceRefs, sourceID)))
|
||||
item.SourceRefs = itemResponseRefs(refs)
|
||||
return order.EarliestValid(refs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user