SWE574-Groupago / heritago

A platform where anyone can share and learn about cultural heritages.
MIT License
9 stars 8 forks source link

Annotations query return based on annoation ID instead of target id #204

Closed TalatCikikci closed 7 years ago

TalatCikikci commented 7 years ago

Annotation query should return annotations based on the "target_id" of the annotation. Currently results are returned based on annotation ID. This is wrong and must be corrected.

TalatCikikci commented 7 years ago

The query method is fixed. Queries are now made based on "target_id" instead of "pk".