edgeryders / discourse-annotator

A text annotation and analysis application for Discourse. Made with Annotator.js and Ruby on Rails.
https://edgeryders.eu/t/6811
Other
4 stars 0 forks source link

Annotation usage counted wrong for copied code #220

Closed tanius closed 2 years ago

tanius commented 2 years ago

When copying a code that has at least one annotation, the result will be a code shown in the code list as having twice the annotations than the original. When copying the copied code again, the result will be a code shown as having three times the annotations of the original, and so on.

This is only an error of counting the annotations, not of actual annotations assigned to the new codes. Because when looking at the list of annotations of such a copied code, only the same number of annotations are present as were available for the original code, but assigned to the copied version. That is as intended.

damingo commented 2 years ago

Resolved. Wrong counts have also been fixed.