acdh-oeaw / apis-mine

New repo for running the PAAS project via devops on Kubernetes
1 stars 1 forks source link

Adjust endpoint for Mitgliedschaft date to exclude dead people #111

Open richardhadden opened 1 year ago

richardhadden commented 1 year ago

Problem is most likely that there is a membership without an end date...

(See http://localhost:8000/search/?q=&start_date_form=2000&end_date_form=2022&start_date_form_exclusive=&end_date_form_exclusive=&start_date_life_form=&end_date_life_form=&gender=&wahl_person=&wahl_beruf=&wahl_gender=&sort=birth_date : Fritz Machatschek died in 1957... could not possibly have membership overlapping with 2000-2022 period)

sennierer commented 1 year ago

we need to run a search through the db and put everyone who has relations still active (eg without an end date) after his/her death in a dedicated collection, so the researchers can have a look whats going on