geocollections / geokogud

Geocollections of Estonia
http://geocollections.arendus.geokogud.info/
GNU Affero General Public License v3.0
4 stars 2 forks source link

Specimen tab Bug report #108

Closed OlesjaSenkiv closed 7 years ago

OlesjaSenkiv commented 7 years ago

Bug1. Specimen >> specimen nr incorrect

image

FIXED

OlesjaSenkiv commented 7 years ago

bug2.Specimen >> adminUnit searchCriteria is not working

FIXED. But can be added autocomplete choice

OlesjaSenkiv commented 7 years ago

bug3. Common bug for all search types: "contains in list", "does not contain" and "does not exact" is not working with multiseaech fields. Currently solution - do not show as search criteria.

OlesjaSenkiv commented 7 years ago

bug4. Specimen >> main search Map is not working because API do not return locality_id

FIXED. Added return fields latitute, longitude, locality_id

OlesjaSenkiv commented 7 years ago

bug5. Specimen >> collection number search is not working currently due to API 500 ERROR

OlesjaSenkiv commented 7 years ago

bug6. Specimen >> detail form translation for related_data is missing

OlesjaSenkiv commented 7 years ago

bug7. Specimen >> detail form images are missing FIXED

OlesjaSenkiv commented 7 years ago

bug8. Speciment >> sorting by all fields is incorrect except id

FIXED

urtson commented 7 years ago

Added specimenreferencereferencereference to API, which contains the string "Viira, 1975". Use that field in multi_search.

On K, 2017-04-19 at 01:05 -0700, OlesjaSenkiv wrote:

bug6. Specimen >> if date is chosen and some more field reference multisearch request is incorrect

https://api.arendus.geokogud.info/specimen/?paginate_by=30&page=1&order_by=-id&format=json&date_added__gte=2000-12-31T22:00:00.000Z&date_added__lte=2001-12-31T22:00:00.000Z&multi_search=value:Viira, 1975;fields:specimenreferencereferenceauthor,specimenreferencereferencetitle,agent_collectedsurename;lookuptype:icontains&fields=id,specimen_nr,specimen_id,collnumber,coll_id,specimenidentificationname,localitylocality,localitylocality_en,depth,depth_interval,stratigraphystratigraphy,stratigraphystratigraphy_en,lithostratigraphystratigraphy,lithostratigraphystratigraphy_en,stratigraphy_free,part,original_statusvalue,original_statusvalue_en,agent_collectedagent,agent_collected__forename,agent_collectedsurename,databasename_en

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Kotodevochka commented 7 years ago

@urtson Could you please also add reference_id field to specimen_reference in specimen related data? (currently there is only available id of associative table which is not what we actually need...).

urtson commented 7 years ago

Added reference_id to specimen_reference

Kotodevochka commented 7 years ago

@urtson I am sorry, but it is not present in specimen related data table... https://api.arendus.geokogud.info/specimen/4939?related_data=specimen_reference

urtson commented 7 years ago

Ok, added it also to default fields