gklyne / annalist

Free-form web data notebook - "Data management for little guys"
MIT License
25 stars 3 forks source link

Enumerated entity links to wrong record in list view #37

Closed gklyne closed 10 years ago

gklyne commented 10 years ago

E.g. in CruisingLog collection, place name links in daily log link to to daily log record, not place record.

gklyne commented 10 years ago

The referenced entity link is now managed though a mapping which is part of a FieldDescription value.

Enumerated entities are rendered by field/annalist_..._select templates; previously used entityid.

As part of this, handling of enumerated values in view fields has been refactored: earlier ad hoc mechanisms have been removed, with everything handled through maps defined in the FieldDescription value. As a consequence, the options parameter to the bound_field constructor has been removed.

Added test cases for linked record entity references