Revert "9899: tweak adjustement where one could switch locations for both parents"
This reverts commit 0633930667
.
This commit is contained in:
parent
8841d13a7e
commit
4f96497e64
@ -411,7 +411,7 @@ def parents_labels(db, family, glocale):
|
|||||||
if father.gender == 0:
|
if father.gender == 0:
|
||||||
rel_father = rel_mother
|
rel_father = rel_mother
|
||||||
if mother.gender == 1:
|
if mother.gender == 1:
|
||||||
rel_mother = _('Father')
|
rel_mother = rel_father
|
||||||
else:
|
else:
|
||||||
rc = get_relationship_calculator(True, glocale)
|
rc = get_relationship_calculator(True, glocale)
|
||||||
rel_father = rc.get_one_relationship(db, mother, father)
|
rel_father = rc.get_one_relationship(db, mother, father)
|
||||||
|
@ -703,7 +703,7 @@ def parents_labels(db, family):
|
|||||||
if father.gender == 0:
|
if father.gender == 0:
|
||||||
rel_father = rel_mother
|
rel_father = rel_mother
|
||||||
if mother.gender == 1:
|
if mother.gender == 1:
|
||||||
rel_mother = _('Father')
|
rel_mother = rel_father
|
||||||
else:
|
else:
|
||||||
rc = RelationshipCalculator()
|
rc = RelationshipCalculator()
|
||||||
rel_father = rc.get_one_relationship(db, mother, father)
|
rel_father = rc.get_one_relationship(db, mother, father)
|
||||||
|
Loading…
Reference in New Issue
Block a user