Closed ollehints closed 4 years ago
boxes are now visible, but not the recent images, as config referred to attachment rather than attachment_link. an image should be taken from the field 'drillcorebox_imageattachmentuuid_filename' rather than 'attachment__uuid_filename'. In a longer run, better interface is needed for drillcores to allow advanced functions like printing the box images to pdf etc.
Boxes for recently entered drillcores are not shown on portal (https://geocollections.info/drillcore/485), although data are visible in API (https://api.geocollections.info/drillcore_box/?drillcore__id=485). Older records work fine (https://geocollections.info/drillcore/480). Maybe it expects images from old table structure (drillcore_image)?