From 9424539930cabb3e07ed16747f0af39771ad6215 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 10 May 2016 12:26:46 -0400 Subject: [PATCH] Person: add aliases for field names --- gramps/gen/lib/person.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/lib/person.py b/gramps/gen/lib/person.py index 68e19264b..ee59f473e 100644 --- a/gramps/gen/lib/person.py +++ b/gramps/gen/lib/person.py @@ -217,6 +217,8 @@ class Person(CitationBase, NoteBase, AttributeBase, MediaBase, "given": "primary_name.first_name", "surname": "primary_name.surname_list.0.surname", "surnames": "primary_name.surname_list.surname", + "event.place": "event_ref_list.ref.place.name.value", + "event.year": "event_ref_list.ref.date.year", } @classmethod