fix: Refactored the logic of updating the annotations according to text types
Bug fix
Summary
Apart from what is mentioned in the main ticket you are going to close with this MR, tell us what you have done to achieve this goal.
Refactored the logic of updating the annotations according to text types.
Please pull the changes into local and can be tested for Karshuni collection as well that has multiple text types.
Entrypoint: https://ahikar-dev.sub.uni-goettingen.de/api/textapi/ahikar/arabic-karshuni/collection.json
Ex: Brit.Mus. cod. Add. 7209 - Sheet 182b
Mingana Syriac 258 ff.146v-182v - Sheet 147a
Does the result of the MR comply to our "definition of done"?
-
Unit tests passed -
Code reviewed -
Acceptance criteria met -
Functional tests passed -
Non-Functional requirements met -
Product Owner accepts the User Story
Related
Closes
Changelog
-
I added a statement to the CHANGELOG.
Documentation
-
I updated the README (if applicable) -
I provided my functions with appropriate documentation
Edited by schneider210