WorldHistoricalGazetteer / whg3

Version 3 in development
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Sg/2024 04 27 #182

Closed docuracy closed 1 month ago

docuracy commented 1 month ago

Mostly work on Add place set to place collection #173

Difficult to test without a fuller test dataset, and places/views.py in particular will need some further refactoring before June 1st.

Without the alteration made to attest_collections in places/views.py, newly-made Collections would not show up in the list at the bottom of the Portal Page, which would be confusing for users.

AggPlaces works solely by setting a include_matches flag on the TraceAnnotation (remember migrations). When the Collection is browsed, this flag causes the geometry of the Place to be substituted with that of its most-linked CloseMatch sibling, and the Title link in the Detail box is switched from the place detail page to the place portal page.