geocollections / geokogud2

Eesti geokogude infosüsteem
https://geocollections.info
GNU Affero General Public License v3.0
0 stars 0 forks source link

Drillcore boxes not shown #182

Closed ollehints closed 4 years ago

ollehints commented 4 years ago

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)?

ollehints commented 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.