Rename all reverse relationship lookups in queries to match new modal names

Issue #180 resolved
Ed McDonagh created an issue

Modal name database migration looks like it will work (though not tested with proper databases yet).

However, reverse relationship lookups make use of the lowercase version of the modal name, which wasn't caught by the refactoring process.

Comments (24)

  1. Ed McDonagh reporter

    Replaced projectionxrayradiationdose - was complicated as frequently used with underscores as foreign key forwards as well as backwards, now without underscore. Refs #180

    → <<cset 12f5de8f54b3>>

  2. Ed McDonagh reporter

    The rename of general_study_module_attributes to generalstudymoduleattr was missed in the detail templates, causing no data to populate the detail sheets. Fixed. Refs #180. Consequence of the new larger fields is that some numbers are now displayed with absurd numbers of decimal places.

    → <<cset 54bfe01694ed>>

  3. Log in to comment