From 4645133247b25fca93e986ac45837840b1bed152 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 19 Nov 2021 15:43:18 +0000 Subject: [PATCH] Include more dates in item detail --- matcher/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matcher/api.py b/matcher/api.py index e1c54c7..bb84aca 100644 --- a/matcher/api.py +++ b/matcher/api.py @@ -793,6 +793,9 @@ def item_detail(item): "street_address": street_address, "isa_list": [{"qid": isa.qid, "label": isa.label()} for isa in isa_items if isa], "closed": item.closed(), + "inception": item.time_claim("P571"), + "p1619": item.time_claim("P1619"), + "p576": item.time_claim("P576"), "heritage_designation": heritage_designation, }