geocollections / geokogud2

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

Sample form updates #189

Closed ollehints closed 4 years ago

ollehints commented 4 years ago

Sample detail view general data:

Analysis results subform:

Analyses and procedures subform:

Map:

ollehints commented 4 years ago

We should add another subform 'Related datasets' / 'Seotud andmekogumid'. It should show data from e.g.,: https://api.geocollections.info/dataset_analysis.json?analysis__sample=180116&fields=dataset,dataset__owner__agent,dataset__name,dataset__name_en&paginate_by=10 Column labels: 'ID', 'Corresponding author' / 'Põhiautor', 'Title' / 'Pealkiri'; ID should be link to .../dataset/$id

ollehints commented 4 years ago

And yet another subform 'Related references' / 'Seotud viited'. It should show data from analysis that are made from the sample: e.g., https://api.geocollections.info/analysis/?sample=179032&fields=reference,reference__reference References may be linked directly to sample too, although this is rarely used (https://api.geocollections.info/sample_reference/?sample=59097&fields=reference,reference__reference). Ideally, both sources should be combined into same subform.